Skip to content

Commit fe72c69

Browse files
committed
fix: allow search data re-initialization when permissions change
1 parent 1709e1f commit fe72c69

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

apps/sim/stores/modals/search/store.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ export const useSearchModalStore = create<SearchModalState>()(
4040
},
4141

4242
initializeData: (filterBlocks) => {
43-
if (get().data.isInitialized) return
44-
4543
const allBlocks = getAllBlocks()
4644
const filteredAllBlocks = filterBlocks(allBlocks) as typeof allBlocks
4745

0 commit comments

Comments
 (0)