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: Fix live-update bug when changing user names.

Sahil Batra4fb5dee5a400
diff --git a/web/src/settings_users.js b/web/src/settings_users.js
index 36c052d2c9d..bec0b1a5dde 100644
--- a/web/src/settings_users.js
+++ b/web/src/settings_users.js
@@ -414,7 +414,7 @@ export function update_user_data(user_id, new_data) {
if (new_data.full_name !== undefined) {
// Update the full name in the table
- $user_row.find(".user_name").text(new_data.full_name);
+ $user_row.find(".user_name .view_user_profile").text(new_data.full_name);
}
if (new_data.role !== undefined) {