forked from OpenWF/SpaceNinjaServer
		
	fix(webui): correct check for guild id
This commit is contained in:
		
							parent
							
								
									0d388b4b0f
								
							
						
					
					
						commit
						8837bddbfa
					
				@ -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