fix(webui): show 0 rerolls instead NaN in Rivens (#1385)

Co-authored-by: Sainan <sainan@calamity.inc>
Reviewed-on: OpenWF/SpaceNinjaServer#1385
Co-authored-by: AMelonInsideLemon <166175391+AMelonInsideLemon@users.noreply.github.com>
Co-committed-by: AMelonInsideLemon <166175391+AMelonInsideLemon@users.noreply.github.com>
This commit is contained in:
AMelonInsideLemon 2025-03-30 06:54:58 -07:00 committed by Sainan
parent c82cad7b02
commit f34e1615e2

View File

@ -465,7 +465,7 @@ function updateInventory() {
" <span title='" +
loc("code_rerollsNumber") +
"'>⟳ " +
parseInt(fingerprint.rerolls) +
(fingerprint.rerolls ?? 0) +
"</span>";
tr.appendChild(td);
}