forked from OpenWF/SpaceNinjaServer
fix(webui): refresh inventory after changing server cheats (#1331)
Reviewed-on: OpenWF/SpaceNinjaServer#1331
This commit is contained in:
parent
8221674098
commit
0fc1326255
@ -967,6 +967,9 @@ function doChangeSettings() {
|
||||
url: "/custom/config?" + window.authz,
|
||||
contentType: "text/plain",
|
||||
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();
|
||||
});
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user