File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed
packages/pluggableWidgets/gallery-web/src/stores Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ export class GalleryStore extends BaseControllerHost {
6464
6565 this . name = spec . name ;
6666
67- this . _query = new DatasourceController ( this , { gate : spec . gate } ) ;
67+ this . _query = new DatasourceController ( this , spec . gate ) ;
6868
6969 this . paging = new PaginationController ( this , {
7070 query : this . _query ,
@@ -74,10 +74,7 @@ export class GalleryStore extends BaseControllerHost {
7474 showTotalCount : spec . showTotalCount
7575 } ) ;
7676
77- this . selectionCountStore = new SelectionCountStore ( spec . gate , {
78- singular : "%d item selected" ,
79- plural : "%d items selected"
80- } ) ;
77+ this . selectionCountStore = new SelectionCountStore ( spec . gate ) ;
8178
8279 this . _filtersHost = new CustomFilterHost ( ) ;
8380
@@ -101,10 +98,7 @@ export class GalleryStore extends BaseControllerHost {
10198
10299 this . loaderCtrl = new DerivedLoaderController ( this . _query , spec . refreshIndicator ) ;
103100
104- new RefreshController ( this , {
105- delay : 0 ,
106- query : this . _query . derivedQuery
107- } ) ;
101+ new RefreshController ( this , this . _query , 0 ) ;
108102
109103 const useStorage = spec . storeFilters || spec . storeSort ;
110104 if ( useStorage ) {
You can’t perform that action at this time.
0 commit comments