fix: refresh inventory after changing server cheats
All checks were successful
Build / build (18) (push) Successful in 50s
Build / build (22) (push) Successful in 1m15s
Build / build (20) (push) Successful in 1m23s
Build / build (18) (pull_request) Successful in 43s
Build / build (20) (pull_request) Successful in 1m13s
Build / build (22) (pull_request) Successful in 1m23s

This commit is contained in:
Sainan 2025-03-25 16:52:36 +01:00
parent bfcd928fde
commit 16485fb3e2

View File

@ -967,6 +967,9 @@ function doChangeSettings() {
url: "/custom/config?" + window.authz, url: "/custom/config?" + window.authz,
contentType: "text/plain", contentType: "text/plain",
data: JSON.stringify(json, null, 2) data: JSON.stringify(json, null, 2)
}).then(() => {
// A few cheats affect the inventory response which in turn may change what values we need to show
updateInventory();
}); });
}); });
} }