Skip to content

Commit 6b3120a

Browse files
fix(gallery-web): change how parameter are used on DerivedLoaderController
1 parent f23ac3a commit 6b3120a

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

packages/pluggableWidgets/gallery-web/src/stores/GalleryStore.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,7 @@ export class GalleryStore extends SetupHost {
9696
host: this._sortHost
9797
};
9898

99-
this.loaderCtrl = new DerivedLoaderController({
100-
showSilentRefresh: spec.refreshInterval > 1,
101-
refreshIndicator: spec.refreshIndicator,
102-
query: this._query
103-
});
99+
this.loaderCtrl = new DerivedLoaderController(this._query, spec.refreshIndicator, spec.refreshInterval > 1);
104100

105101
const useStorage = spec.storeFilters || spec.storeSort;
106102
if (useStorage) {

0 commit comments

Comments
 (0)