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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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