fix(webui): correct check for guild id #2770
@ -664,7 +664,7 @@ function updateInventory() {
|
|||||||
req.done(data => {
|
req.done(data => {
|
||||||
window.itemListPromise.then(itemMap => {
|
window.itemListPromise.then(itemMap => {
|
||||||
window.didInitialInventoryUpdate = true;
|
window.didInitialInventoryUpdate = true;
|
||||||
if (data.GuildId.$oid) {
|
if (data.GuildId) {
|
||||||
window.guildId = data.GuildId.$oid;
|
window.guildId = data.GuildId.$oid;
|
||||||
document.getElementById("nav-guildView").classList.remove("d-none");
|
document.getElementById("nav-guildView").classList.remove("d-none");
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user