Remove unnecessary, accidentally inverted condition for room ordering (#10178)
This commit is contained in:
parent
73360026ab
commit
f7bea2cae5
1 changed files with 0 additions and 1 deletions
|
@ -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 a new issue