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.

inbox_ui: Rearrange dropdown options.

Aman Agrawal44d0e5e23b8b
diff --git a/web/src/inbox_ui.js b/web/src/inbox_ui.js
index be0de2f350c..67613902818 100644
--- a/web/src/inbox_ui.js
+++ b/web/src/inbox_ui.js
@@ -500,11 +500,11 @@ function show_empty_inbox_text(has_visible_unreads) {
function filters_dropdown_options() {
return [
{
- unique_id: views_util.FILTERS.ALL_TOPICS,
- name: $t({defaultMessage: "All topics"}),
+ unique_id: views_util.FILTERS.FOLLOWED_TOPICS,
+ name: $t({defaultMessage: "Followed topics"}),
bold_current_selection:
filters_dropdown_widget &&
- filters_dropdown_widget.current_value === views_util.FILTERS.ALL_TOPICS,
+ filters_dropdown_widget.current_value === views_util.FILTERS.FOLLOWED_TOPICS,
},
{
unique_id: views_util.FILTERS.UNMUTED_TOPICS,
@@ -514,11 +514,11 @@ function filters_dropdown_options() {
filters_dropdown_widget.current_value === views_util.FILTERS.UNMUTED_TOPICS,
},
{
- unique_id: views_util.FILTERS.FOLLOWED_TOPICS,
- name: $t({defaultMessage: "Followed topics"}),
+ unique_id: views_util.FILTERS.ALL_TOPICS,
+ name: $t({defaultMessage: "All topics"}),
bold_current_selection:
filters_dropdown_widget &&
- filters_dropdown_widget.current_value === views_util.FILTERS.FOLLOWED_TOPICS,
+ filters_dropdown_widget.current_value === views_util.FILTERS.ALL_TOPICS,
},
];
}