Remove unnecessary, accidentally inverted condition for room ordering (#10178)
							parent
							
								
									73360026ab
								
							
						
					
					
						commit
						f7bea2cae5
					
				|  | @ -104,7 +104,6 @@ export class ImportanceAlgorithm extends OrderingAlgorithm { | |||
|             // Every other sorting type affects the categories, not the whole tag.
 | ||||
|             const categorized = this.categorizeRooms(rooms); | ||||
|             for (const category of Object.keys(categorized)) { | ||||
|                 if (!isNaN(Number(category))) continue; | ||||
|                 const notificationColor = category as unknown as NotificationColor; | ||||
|                 const roomsToOrder = categorized[notificationColor]; | ||||
|                 categorized[notificationColor] = sortRoomsWithAlgorithm( | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Janne Mareike Koschinski
						Janne Mareike Koschinski