v4.9.5.1 - DEV Update NSPanelTs.ts

Small fixes
This commit is contained in:
Armilar
2025-08-12 13:05:04 +02:00
committed by GitHub
parent 1ee19213bd
commit 87c58cc62d

View File

@@ -5851,7 +5851,11 @@ function CreateEntity (pageItem: PageItem, placeId: number, useColors: boolean =
if (pageItem.useValue) {
if (pageItem.fontSize != undefined) {
iconId = optVal + '¬' + pageItem.fontSize;
if (pageItem.suffixName == undefined) {
iconId = optVal + '¬' + pageItem.fontSize;
} else {
iconId = optVal + pageItem.suffixName + '¬' + pageItem.fontSize;
}
} else {
iconId = optVal;
}
@@ -12109,7 +12113,10 @@ function GenerateDetailPage (type: NSPanel.PopupType, optional: NSPanel.mediaOpt
actualState +
'~' +
optionalString,
});
GeneratePage(activePage!);
}
} else if (role == 'buttonSensor') {