forked from p34709852/monkey
ui: refactor getHideResetState() to use isSafe()
This commit is contained in:
parent
ce9a398f28
commit
98e26b0be1
|
@ -108,7 +108,7 @@ class AdvancedMultiSelect extends React.Component {
|
|||
}
|
||||
|
||||
getHideResetState(selectValues) {
|
||||
return selectValues.every((value) => this.defaultValues.includes(value));
|
||||
return selectValues.every((value) => this.isSafe(value));
|
||||
}
|
||||
|
||||
setPaneInfo = (itemKey) => {
|
||||
|
|
Loading…
Reference in New Issue