Skip to content

Commit

Permalink
fix(uip-bool-setting): fix bool setting inconsistent state
Browse files Browse the repository at this point in the history
  • Loading branch information
Sisha0 committed Apr 29, 2021
1 parent 803256b commit 3b551e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/settings/setting/bool-setting/bool-setting.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ export class UIPBoolSetting extends UIPSetting {
// TODO: implement inconsistency state for boolean setting
protected setInconsistency(): void {
this.$field.checked = false;
this.querySelector('.inconsistency-marker')?.remove();

const inconsistencyMarker = document.createElement('span');
inconsistencyMarker.classList.add('inconsistency-marker');
Expand Down

0 comments on commit 3b551e9

Please sign in to comment.