Skip to content

Commit 38b082d

Browse files
committed
wip
1 parent 822a88d commit 38b082d

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

lib/public/components/Filters/common/FilteringModel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export class FilteringModel extends Observable {
6868
*/
6969
isAnyFilterActive() {
7070
for (const model of this._filterModels) {
71-
if (model.isEmpty instanceof Boolean && !model.isEmpty || model.isEmpty instanceof Function && !model.isEmpty()) {
71+
if (typeof model.isEmpty === 'boolean' && !model.isEmpty || typeof model.isEmpty == 'function' && !model.isEmpty()) {
7272
return true;
7373
}
7474
}

lib/public/views/DataPasses/ActiveColumns/dataPassesActiveColumns.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,5 +107,5 @@ export const dataPassesActiveColumns = {
107107
name: 'include nonphysical productions',
108108
// filter: (runsOverviewModel) => checkboxes(runsOverviewModel.filteringModel.get('runQualities').selectionModel),
109109
visible: false,
110-
}
111-
};
110+
},
111+
};

0 commit comments

Comments
 (0)