From a0e5090254d49cc17ee3fff85930d1755b617ee5 Mon Sep 17 00:00:00 2001 From: Rob Pilling Date: Mon, 13 May 2024 18:14:14 +0100 Subject: [PATCH] promenu: fix boolean overwriting --- apps/promenu/bootb2.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/promenu/bootb2.ts b/apps/promenu/bootb2.ts index 19f685549..ee4e05cf9 100644 --- a/apps/promenu/bootb2.ts +++ b/apps/promenu/bootb2.ts @@ -80,6 +80,7 @@ type ActualMenuItem = Exclude; v = "format" in item ? (item.format as any)(item.value) // format(), value: T : item.value; + if (typeof v !== "string") v = `${v}`; } else { v = ""; }