mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-19 14:14:12 +01:00
v4.9.5.1 - DEV Update NSPanelTs.ts
Small fixes
This commit is contained in:
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user