返回提交历史
Modified
static/webui/script.js
+1
-1
XFEstudio/SpaceNinjaServer
fix(webui): correct check for guild id (#2770)
Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/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>
f099b64e
代码差异
1 个文件
+1
-1
@@ -664,7 +664,7 @@ function updateInventory() {
664
664
req.done(data => {
665
665
window.itemListPromise.then(itemMap => {
666
666
window.didInitialInventoryUpdate = true;
667
if (data.GuildId.$oid) {
667
if (data.GuildId) {
668
668
window.guildId = data.GuildId.$oid;
669
669
document.getElementById("nav-guildView").classList.remove("d-none");
670
670
} else {