Skip to content

Commit bc544d0

Browse files
committed
useQueryModels: syncURL on loadModel
1 parent 4277f1e commit bc544d0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/components/src/public/QueryModel/useQueryModels.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ export class QueryModelManager {
9292
setSorts: this.setSorts,
9393
setView: this.setView,
9494
};
95-
console.log('queryConfigs!', queryConfigs);
9695
this.state = {
9796
queryModels: initModels(queryConfigs, searchParams),
9897
actions: this.actions,
@@ -366,6 +365,7 @@ export class QueryModelManager {
366365

367366
loadModel = (id: string, loadSelections = false, reloadTotalCount = false): void => {
368367
this.loadQueryInfo(id, true, loadSelections, reloadTotalCount);
368+
this.syncURL(id);
369369
};
370370

371371
loadNextPage = (id: string): void => {

0 commit comments

Comments
 (0)