Merge pull request #154 from Armilar/patch-2

Update NsPanelTs.ts
This commit is contained in:
britzelpuf
2022-04-18 12:19:07 +02:00
committed by GitHub

View File

@@ -327,6 +327,8 @@ function CreateEntity(pageItem: PageItem, placeId: number, useColors: boolean =
if (val === true || val === "true") {
optVal = "1"
iconColor = GetIconColor(pageItem, true, useColors);
} else {
iconColor = GetIconColor(pageItem, false, useColors);
}
return "~" + type + "~" + pageItem.id + "~" + iconId + "~" + iconColor + "~" + name + "~" + optVal;