fix(webui): showing hidden recipes for "add items"
This commit is contained in:
		
							parent
							
								
									7ea02d142f
								
							
						
					
					
						commit
						cfc60d5c99
					
				@ -50,7 +50,7 @@ const getItemListsController: RequestHandler = (req, res) => {
 | 
			
		||||
    }
 | 
			
		||||
    const recipeNameTemplate = getString("/Lotus/Language/Items/BlueprintAndItem", lang);
 | 
			
		||||
    for (const [uniqueName, item] of Object.entries(ExportRecipes)) {
 | 
			
		||||
        if (!item.secretIngredientAction) {
 | 
			
		||||
        if (!item.hidden) {
 | 
			
		||||
            const resultName = getItemName(item.resultType);
 | 
			
		||||
            if (resultName) {
 | 
			
		||||
                miscitems.push({
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user