diff --git a/apps/promenu/bootb2.ts b/apps/promenu/bootb2.ts index f97a01348..9342d2ec9 100644 --- a/apps/promenu/bootb2.ts +++ b/apps/promenu/bootb2.ts @@ -140,7 +140,7 @@ E.showMenu = (items?: Menu): MenuInstance => { item.value += (-dir||1) * (item.step||1); - if (item.min && item.value < item.min) + if ("min" in item && item.value < item.min) item.value = item.wrap ? item.max as number : item.min; if ("max" in item && item.value > item.max)