Skip to content

Commit 660a412

Browse files
author
NarrowsProjects
committed
fix eslint errors
1 parent 8f11704 commit 660a412

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,13 @@ export class RadioButtonFilterModel extends SelectionModel {
3535
this._defaultIsEmpty = defaultIsEmpty;
3636
}
3737

38+
/**
39+
* @inheritdoc
40+
*/
3841
get isEmpty() {
3942
if (this._defaultIsEmpty) {
4043
return this.hasOnlyDefaultSelection();
41-
}
44+
}
4245

4346
return false;
4447
}

lib/public/components/Filters/common/filters/ToggleFilterModel.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,7 @@ export class ToggleFilterModel extends SelectionModel {
5252

5353
/**
5454
* Determines whether the current value should be considered empty.
55-
* When this._falseIsEmpty is set to 'true', then a 'false' selection (untoggled)
56-
* will be treated as an empty filter
55+
* When this._untoggledIsEmpty is set to 'true', then untoggled states (false) will be treated as an empty filter
5756
*
5857
* @return {boolean} `true` if the current value is considered empty,
5958
* otherwise `false`.

0 commit comments

Comments
 (0)