fix(webui): being unable to add Kuva #292
@ -102,7 +102,10 @@ window.itemListPromise = new Promise(resolve => {
 | 
				
			|||||||
                items.forEach(item => {
 | 
					                items.forEach(item => {
 | 
				
			||||||
                    if (item.uniqueName in data.badItems) {
 | 
					                    if (item.uniqueName in data.badItems) {
 | 
				
			||||||
                        item.name += " (Imposter)";
 | 
					                        item.name += " (Imposter)";
 | 
				
			||||||
                    } else if (item.uniqueName.substr(0, 18) != "/Lotus/Types/Game/") {
 | 
					                    } else if (
 | 
				
			||||||
 | 
					                        item.uniqueName.substr(0, 18) != "/Lotus/Types/Game/" &&
 | 
				
			||||||
 | 
					                        item.uniqueName.substr(0, 18) != "/Lotus/StoreItems/"
 | 
				
			||||||
 | 
					                    ) {
 | 
				
			||||||
                        const option = document.createElement("option");
 | 
					                        const option = document.createElement("option");
 | 
				
			||||||
                        option.setAttribute("data-key", item.uniqueName);
 | 
					                        option.setAttribute("data-key", item.uniqueName);
 | 
				
			||||||
                        option.value = item.name;
 | 
					                        option.value = item.name;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user