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.

user_group_edit: Fix typo in class name.

Sahil Batra7833ea0bb587
diff --git a/web/src/user_group_edit.ts b/web/src/user_group_edit.ts
index 6ea79ddb382..2933b643581 100644
--- a/web/src/user_group_edit.ts
+++ b/web/src/user_group_edit.ts
@@ -1677,7 +1677,7 @@ export function update_empty_left_panel_message(): void {
if (
$(".user-groups-list").find(
- ".user-groups-list:not(.hide-deactived-user-groups) .group-row.deactivated-group, .user-groups-list:not(.hide-active-user-groups) .group-row:not(.deactivated-group)",
+ ".user-groups-list:not(.hide-deactivated-user-groups) .group-row.deactivated-group, .user-groups-list:not(.hide-active-user-groups) .group-row:not(.deactivated-group)",
).length > 0
) {
$(".no-groups-to-show").hide();
@@ -1737,13 +1737,13 @@ export function remove_deactivated_user_from_all_groups(user_id: number): void {
export function update_displayed_groups(filter_id: string): void {
if (filter_id === FILTERS.ACTIVE_GROUPS) {
- $(".user-groups-list").addClass("hide-deactived-user-groups");
+ $(".user-groups-list").addClass("hide-deactivated-user-groups");
$(".user-groups-list").removeClass("hide-active-user-groups");
} else if (filter_id === FILTERS.DEACTIVATED_GROUPS) {
- $(".user-groups-list").removeClass("hide-deactived-user-groups");
+ $(".user-groups-list").removeClass("hide-deactivated-user-groups");
$(".user-groups-list").addClass("hide-active-user-groups");
} else {
- $(".user-groups-list").removeClass("hide-deactived-user-groups");
+ $(".user-groups-list").removeClass("hide-deactivated-user-groups");
$(".user-groups-list").removeClass("hide-active-user-groups");
}
}
diff --git a/web/styles/subscriptions.css b/web/styles/subscriptions.css
index c1ae13891dd..a9eabce335f 100644
--- a/web/styles/subscriptions.css
+++ b/web/styles/subscriptions.css
@@ -685,7 +685,7 @@ h4.user_group_setting_subsection_title {
align-items: center;
}
-.user-groups-list.hide-deactived-user-groups .deactivated-group {
+.user-groups-list.hide-deactivated-user-groups .deactivated-group {
display: none;
}