fix(webui): correct check for guild id (#2770)
All checks were successful
Build Docker image / docker-arm64 (push) Successful in 1m9s
Build Docker image / docker-amd64 (push) Successful in 54s
Build / build (push) Successful in 2m6s

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:
AMelonInsideLemon 2025-09-11 01:10:32 -07:00 committed by Sainan
parent c4f348c252
commit f099b64ef4

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 {