Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Remove unnecessary, accidentally inverted condition for room ordering (
Browse files Browse the repository at this point in the history
  • Loading branch information
justjanne authored Feb 16, 2023
1 parent 7336002 commit f7bea2c
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit f7bea2c

Please sign in to comment.