chore(webui): remove "<ARCHWING> " from item name (#1414)
Reviewed-on: #1414 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:
		
							parent
							
								
									e2879a7808
								
							
						
					
					
						commit
						7d5ea680e4
					
				@ -252,6 +252,9 @@ function fetchItemList() {
 | 
				
			|||||||
                    uniqueLevelCaps = items;
 | 
					                    uniqueLevelCaps = items;
 | 
				
			||||||
                } else {
 | 
					                } else {
 | 
				
			||||||
                    items.forEach(item => {
 | 
					                    items.forEach(item => {
 | 
				
			||||||
 | 
					                        if (item.name.includes("<ARCHWING> ")) {
 | 
				
			||||||
 | 
					                            item.name = item.name.replace("<ARCHWING> ", "");
 | 
				
			||||||
 | 
					                        }
 | 
				
			||||||
                        if ("badReason" in item) {
 | 
					                        if ("badReason" in item) {
 | 
				
			||||||
                            if (item.badReason == "starter") {
 | 
					                            if (item.badReason == "starter") {
 | 
				
			||||||
                                item.name = loc("code_starter").split("|MOD|").join(item.name);
 | 
					                                item.name = loc("code_starter").split("|MOD|").join(item.name);
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user