From fe72c69d44bbb848be636a68b636b087deb86456 Mon Sep 17 00:00:00 2001 From: waleed Date: Tue, 27 Jan 2026 23:53:05 -0800 Subject: [PATCH] fix: allow search data re-initialization when permissions change --- apps/sim/stores/modals/search/store.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/apps/sim/stores/modals/search/store.ts b/apps/sim/stores/modals/search/store.ts index d523cb373..ac591e7b3 100644 --- a/apps/sim/stores/modals/search/store.ts +++ b/apps/sim/stores/modals/search/store.ts @@ -40,8 +40,6 @@ export const useSearchModalStore = create()( }, initializeData: (filterBlocks) => { - if (get().data.isInitialized) return - const allBlocks = getAllBlocks() const filteredAllBlocks = filterBlocks(allBlocks) as typeof allBlocks