From ef320c0d4654fb60fb1853224592b18537882d43 Mon Sep 17 00:00:00 2001 From: "jianbo.qi" Date: Fri, 19 Dec 2025 17:16:13 +0800 Subject: [PATCH] fix The search box is not displayed #1496 --- src/store/Accounts.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/store/Accounts.ts b/src/store/Accounts.ts index 57f6a47e..0f801423 100644 --- a/src/store/Accounts.ts +++ b/src/store/Accounts.ts @@ -595,6 +595,13 @@ export class Accounts implements Module { state.commit("loadCodes", entries); state.commit("updateCodes"); + + if ( + state.state.entries.length >= 10 && + !(state.getters.shouldFilter && state.state.filter) + ) { + state.commit("showSearch"); + } state.commit( "updateExport", await EntryStorage.getExport(state.state.entries)