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.useValue) {
if (pageItem.fontSize != undefined) { if (pageItem.fontSize != undefined) {
if (pageItem.suffixName == undefined) {
iconId = optVal + '¬' + pageItem.fontSize; iconId = optVal + '¬' + pageItem.fontSize;
} else {
iconId = optVal + pageItem.suffixName + '¬' + pageItem.fontSize;
}
} else { } else {
iconId = optVal; iconId = optVal;
} }
@@ -12109,7 +12113,10 @@ function GenerateDetailPage (type: NSPanel.PopupType, optional: NSPanel.mediaOpt
actualState + actualState +
'~' + '~' +
optionalString, optionalString,
}); });
GeneratePage(activePage!); GeneratePage(activePage!);
} }
} else if (role == 'buttonSensor') { } else if (role == 'buttonSensor') {