diff --git a/static/webui/script.js b/static/webui/script.js index a2b8619c..49ed109d 100644 --- a/static/webui/script.js +++ b/static/webui/script.js @@ -788,7 +788,7 @@ function updateInventory() { { const td = document.createElement("td"); td.classList = "text-end text-nowrap"; - { + if (maxRank != 0) { const a = document.createElement("a"); a.href = "#"; a.onclick = function (event) {