fix(webui): correct check for guild id (#2770)
Reviewed-on: #2770 Reviewed-by: Sainan <63328889+sainan@users.noreply.github.com> 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:
parent
c4f348c252
commit
f099b64ef4
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user