mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
fix(editor): Stop auto-focusing search in resource views (no-changelog) (#14642)
This commit is contained in:
committed by
GitHub
parent
302258dda2
commit
4e0397eed1
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user