fix(webui): show 0 rerolls instead NaN in Rivens (#1385)
All checks were successful
Build / build (20) (push) Successful in 42s
Build / build (18) (push) Successful in 1m15s
Build / build (22) (push) Successful in 1m14s
Build Docker image / docker (push) Successful in 34s

Co-authored-by: Sainan <sainan@calamity.inc>
Reviewed-on: #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);
}