[WIP] Фикс отображения символов

This commit is contained in:
megavrilinvv
2023-01-23 18:15:23 +03:00
parent 5f004e05b6
commit 1251cb7eae

View File

@@ -70,9 +70,9 @@ export default {
this.setActiveButton();
return {
"--bg-color-status": this.activeButton?.color,
"--text-status": !this.template.item?.label
"--text-status": !this.template.item?.symbol
? this.activeButton?.text
: this.template.item.symbol,
: this.template.item?.symbol,
};
},
},
@@ -157,7 +157,7 @@ export default {
if (resStart || resMiddle || resEnd)
return {
"set-template": !!this.template.item?.label,
status: !!this.activeButton && !this.template.item,
status: !!this.activeButton,
"set-date": !this.activeButton,
};
},