Skip to content

Commit 3989d67

Browse files
addaleaxgribnoysup
andauthored
fix(compass-indexes): fetch search indexes on refresh (#7196)
* fix(compass-indexes): fetch search indexes on refresh Instead of fetching regular indexes twice, fetch regular and search indexes once each, as was most likely the intention here. * empty commit to trigger ci again --------- Co-authored-by: Sergey Petushkov <[email protected]>
1 parent 92d2dc7 commit 3989d67

File tree

1 file changed

+1
-1
lines changed
  • packages/compass-indexes/src/stores

1 file changed

+1
-1
lines changed

packages/compass-indexes/src/stores/store.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ export function activateIndexesPlugin(
143143
on(globalAppRegistry, 'refresh-data', () => {
144144
void store.dispatch(fetchRegularIndexes());
145145
if (options.isSearchIndexesSupported) {
146-
void store.dispatch(fetchRegularIndexes());
146+
void store.dispatch(fetchSearchIndexes());
147147
}
148148
});
149149

0 commit comments

Comments
 (0)