fix(webui): correct check for guild id #2770

Merged
Sainan merged 1 commits from AMelonInsideLemon/SpaceNinjaServer:webui-fix into main 2025-09-11 01:10:33 -07:00

View File

@ -664,7 +664,7 @@ function updateInventory() {
req.done(data => {
window.itemListPromise.then(itemMap => {
window.didInitialInventoryUpdate = true;
if (data.GuildId.$oid) {
if (data.GuildId) {
window.guildId = data.GuildId.$oid;
document.getElementById("nav-guildView").classList.remove("d-none");
} else {