Skip to content

Commit 0bfa51d

Browse files
author
NarrowsProjects
committed
chore: make filteringModel instantiation a one-liner
1 parent eeefa7f commit 0bfa51d

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

lib/public/views/SimulationPasses/PerLhcPeriodOverview/SimulationPassesPerLhcPeriodOverviewModel.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,7 @@ export class SimulationPassesPerLhcPeriodOverviewModel extends OverviewPageModel
2727
constructor() {
2828
super();
2929

30-
this._filteringModel = new FilteringModel({
31-
names: new TextTokensFilterModel(),
32-
});
33-
30+
this._filteringModel = new FilteringModel({ names: new TextTokensFilterModel() });
3431
this._filteringModel.visualChange$.bubbleTo(this);
3532
this._filteringModel.observe(() => {
3633
this._pagination.silentlySetCurrentPage(1);

0 commit comments

Comments
 (0)