From 594e75b221a98ef5268172d2ffae18e101675995 Mon Sep 17 00:00:00 2001 From: VoltPrime Date: Sun, 16 Nov 2025 18:44:37 -0500 Subject: [PATCH] chore(webui): don't display rank of mods with a max rank of 0 --- static/webui/script.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/static/webui/script.js b/static/webui/script.js index 7eabcebe..9d6aab44 100644 --- a/static/webui/script.js +++ b/static/webui/script.js @@ -428,7 +428,8 @@ function fetchItemList() { // Add mods missing in data sources data.mods.push({ uniqueName: "/Lotus/Upgrades/Mods/Fusers/LegendaryModFuser", - name: loc("code_legendaryCore") + name: loc("code_legendaryCore"), + fusionLimit: 0 }); data.mods.push({ uniqueName: "/Lotus/Upgrades/CosmeticEnhancers/Peculiars/CyoteMod", @@ -1494,7 +1495,9 @@ function updateInventory() { { const td = document.createElement("td"); td.textContent = itemMap[item.ItemType]?.name ?? item.ItemType; - td.innerHTML += " ★ 0/" + maxRank + ""; + if (maxRank > 0) { + td.innerHTML += " ★ 0/" + maxRank + ""; + } if (item.ItemCount > 1) { td.innerHTML += " 🗍 " + parseInt(item.ItemCount) + "";