File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/compass-app-stores/src/stores Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -261,7 +261,7 @@ store.onActivated = (appRegistry) => {
261261 } ) ;
262262
263263 // Event emitted when the Collections grid needs to be refreshed
264- // with new collections or collection info for existing ones.
264+ // with new collections or collection stats for existing ones.
265265 appRegistry . on ( 'refresh-collections' , async ( { ns } ) => {
266266 const { instance, dataService } = store . getState ( ) ;
267267 const { database } = toNS ( ns ) ;
@@ -271,7 +271,7 @@ store.onActivated = (appRegistry) => {
271271
272272 const db = instance . databases . get ( database ) ;
273273 if ( db ) {
274- await db . fetchCollections ( { dataService, fetchInfo : true , force : true } ) ;
274+ await db . fetchCollectionsDetails ( { dataService, force : true } ) ;
275275 }
276276 } ) ;
277277
You can’t perform that action at this time.
0 commit comments