Skip to content

Commit

Permalink
feat: add inactive class to base setting
Browse files Browse the repository at this point in the history
  • Loading branch information
yadamskaya committed Jan 9, 2024
1 parent 5cdeccd commit e669223
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/plugins/settings/base-setting/base-setting.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ export abstract class UIPSetting extends UIPPlugin {
if (!values.length) {
this.disabled = true;
this.setInconsistency(this.NO_TARGET_MSG);
this.classList.add('uip-inactive-setting');
} else if (values.some((value) => value !== values[0])) {
this.setInconsistency(this.MULTIPLE_VALUE_MSG);
} else {
Expand Down

0 comments on commit e669223

Please sign in to comment.