Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
settings: Handle error correctly when uploading avatar.
Sahil Batra81d2e792b41f
diff --git a/web/src/settings_account.ts b/web/src/settings_account.tsindex d086521af63..0d9287614ec 100644--- a/web/src/settings_account.ts+++ b/web/src/settings_account.ts@@ -130,6 +130,7 @@ function upload_avatar(file: File): void {$("#user-avatar-source").show();}ui_report.error($t_html({defaultMessage: "Failed"}), xhr, $("#dialog_error"));+ dialog_widget.hide_dialog_spinner();},});}