fix(webui): correct check for guild id
All checks were successful
Build / build (pull_request) Successful in 1m4s

This commit is contained in:
AMelonInsideLemon 2025-09-11 05:06:10 +02:00
parent 0d388b4b0f
commit 8837bddbfa

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 {