Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
minor: Make group tab selector in profile modal more specific.
m-e-l-u-h-a-n63fcc740a866
diff --git a/static/js/user_profile.js b/static/js/user_profile.jsindex 4b6af9f5116..18872a159b3 100644--- a/static/js/user_profile.js+++ b/static/js/user_profile.js@@ -172,13 +172,13 @@ export function show_user_profile(user) {values: [{label: $t({defaultMessage: "Profile"}), key: "profile-tab"},{label: $t({defaultMessage: "Streams"}), key: "user-profile-streams-tab"},- {label: $t({defaultMessage: "User groups"}), key: "groups-tab"},+ {label: $t({defaultMessage: "User groups"}), key: "user-profile-groups-tab"},],callback(name, key) {$(".tabcontent").hide();$("#" + key).show();switch (key) {- case "groups-tab":+ case "user-profile-groups-tab":render_user_group_list(groups_of_user, user);break;case "user-profile-streams-tab":diff --git a/static/templates/user_profile_modal.hbs b/static/templates/user_profile_modal.hbsindex 083ac3ad582..2111aff1a7a 100644--- a/static/templates/user_profile_modal.hbs+++ b/static/templates/user_profile_modal.hbs@@ -80,7 +80,7 @@</div></div>- <div class="tabcontent" id="groups-tab">+ <div class="tabcontent" id="user-profile-groups-tab"><div class="subscription-group-list"><table class="user-group-list" data-empty="{{t 'No user group subscriptions.'}}"></table></div>