mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
channel_folders: Sort get_channel_folders by order.
This commit is contained in:
@@ -42,7 +42,7 @@ export function get_channel_folders(include_archived = false): ChannelFolder[] {
|
||||
}
|
||||
|
||||
return true;
|
||||
});
|
||||
}).sort((folder_a, folder_b) => folder_a.order - folder_b.order);
|
||||
}
|
||||
|
||||
/* TODO/channel-folders: Remove when tests are restored */
|
||||
|
Reference in New Issue
Block a user