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

Commit f7bea2c

Browse files
authored
Remove unnecessary, accidentally inverted condition for room ordering (#10178)
1 parent 7336002 commit f7bea2c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/stores/room-list/algorithms/list-ordering/ImportanceAlgorithm.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ export class ImportanceAlgorithm extends OrderingAlgorithm {
104104
// Every other sorting type affects the categories, not the whole tag.
105105
const categorized = this.categorizeRooms(rooms);
106106
for (const category of Object.keys(categorized)) {
107-
if (!isNaN(Number(category))) continue;
108107
const notificationColor = category as unknown as NotificationColor;
109108
const roomsToOrder = categorized[notificationColor];
110109
categorized[notificationColor] = sortRoomsWithAlgorithm(

0 commit comments

Comments
 (0)