Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

channel_folders: Fix prettier issues in last commit.

Tim Abbotta0b8e916c53b
diff --git a/web/src/channel_folders.ts b/web/src/channel_folders.ts
index 0ef5e0993e6..c3b25368a4f 100644
--- a/web/src/channel_folders.ts
+++ b/web/src/channel_folders.ts
@@ -36,13 +36,15 @@ export function initialize(params: StateData["channel_folders"]): void {
export function get_channel_folders(include_archived = false): ChannelFolder[] {
const channel_folders = [...channel_folder_by_id_dict.values()];
- return channel_folders.filter((channel_folder) => {
- if (!include_archived && channel_folder.is_archived) {
- return false;
- }
-
- return true;
- }).sort((folder_a, folder_b) => folder_a.order - folder_b.order);
+ return channel_folders
+ .filter((channel_folder) => {
+ if (!include_archived && channel_folder.is_archived) {
+ return false;
+ }
+
+ return true;
+ })
+ .sort((folder_a, folder_b) => folder_a.order - folder_b.order);
}
/* TODO/channel-folders: Remove when tests are restored */