Update static/webui/script.js
All checks were successful
Build / build (20) (pull_request) Successful in 41s
Build / build (22) (pull_request) Successful in 1m14s
Build / build (18) (pull_request) Successful in 1m28s

This commit is contained in:
Sainan 2025-03-30 06:49:42 -07:00
parent 5a6c06f956
commit 414d85169c

View File

@ -449,7 +449,6 @@ function updateInventory() {
const td = document.createElement("td"); const td = document.createElement("td");
td.textContent = itemMap[fingerprint.compat]?.name ?? fingerprint.compat; td.textContent = itemMap[fingerprint.compat]?.name ?? fingerprint.compat;
td.textContent += " " + RivenParser.parseRiven(rivenType, fingerprint, 1).name; td.textContent += " " + RivenParser.parseRiven(rivenType, fingerprint, 1).name;
fingerprint.rerolls ??= 0;
td.innerHTML += td.innerHTML +=
" <span title='" + " <span title='" +
loc("code_buffsNumber") + loc("code_buffsNumber") +
@ -466,7 +465,7 @@ function updateInventory() {
" <span title='" + " <span title='" +
loc("code_rerollsNumber") + loc("code_rerollsNumber") +
"'>⟳ " + "'>⟳ " +
parseInt(fingerprint.rerolls) + (fingerprint.rerolls ?? 0) +
"</span>"; "</span>";
tr.appendChild(td); tr.appendChild(td);
} }