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.

settings: Improve check for incomplete org profile.

Tushar912432751c31969
diff --git a/static/js/panels.js b/static/js/panels.js
index 16eb0d401a0..9dabfa48820 100644
--- a/static/js/panels.js
+++ b/static/js/panels.js
@@ -58,7 +58,7 @@ export function check_profile_incomplete() {
// since their organization might not have a logo yet.
if (
page_params.realm_description === "" ||
- page_params.realm_description.startsWith("Organization imported from")
+ /^Organization imported from [A-Za-z]+[!.]$/.test(page_params.realm_description)
) {
$("[data-process='profile-incomplete']").show();
} else {