From e66922390dabe66e13a22522889ac1986216a577 Mon Sep 17 00:00:00 2001 From: Yuliya Adamska Date: Tue, 9 Jan 2024 15:12:59 +0300 Subject: [PATCH] feat: add inactive class to base setting --- src/plugins/settings/base-setting/base-setting.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/settings/base-setting/base-setting.ts b/src/plugins/settings/base-setting/base-setting.ts index 1eba614a..1629dc09 100644 --- a/src/plugins/settings/base-setting/base-setting.ts +++ b/src/plugins/settings/base-setting/base-setting.ts @@ -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 {