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.

modals: Switch confirm_delete_profile_field modal to compact mode.

Sayam Samal8dc677a97961
diff --git a/web/src/settings_profile_fields.ts b/web/src/settings_profile_fields.ts
index fbf05906980..614b0bbab54 100644
--- a/web/src/settings_profile_fields.ts
+++ b/web/src/settings_profile_fields.ts
@@ -190,8 +190,9 @@ function delete_profile_field(this: HTMLElement, e: JQuery.ClickEvent): void {
}
confirm_dialog.launch({
- modal_content_html,
modal_title_html: $t_html({defaultMessage: "Delete custom profile field?"}),
+ modal_content_html,
+ is_compact: true,
on_click: request_delete,
});
}