fix(editor): Stop auto-focusing search in resource views (no-changelog) (#14642)

This commit is contained in:
Milorad FIlipović
2025-04-16 09:00:47 +02:00
committed by GitHub
parent 302258dda2
commit 4e0397eed1

View File

@@ -301,22 +301,12 @@ watch(
}, },
); );
watch(
() => props.resources,
async () => {
await nextTick();
focusSearchInput();
},
);
// Lifecycle hooks // Lifecycle hooks
onMounted(async () => { onMounted(async () => {
await loadPaginationFromQueryString(); await loadPaginationFromQueryString();
await props.initialize(); await props.initialize();
await nextTick(); await nextTick();
focusSearchInput();
if (hasAppliedFilters()) { if (hasAppliedFilters()) {
hasFilters.value = true; hasFilters.value = true;
} }