mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 06:23:38 +00:00
org settings: Fix bug in error reporting on active users setting.
In active users setting, an errors occurred on editing user profiles, are not reported correctly because there is missing argument in call of ui_report.error() function. Fix the issue by passing proper arguments in ui_report.error() function call.
This commit is contained in:
@@ -436,8 +436,8 @@ exports.on_load_success = function (realm_people_data) {
|
||||
success: function () {
|
||||
ui_report.success(i18n.t('Updated successfully!'), admin_status);
|
||||
},
|
||||
error: function () {
|
||||
ui_report.error(i18n.t('Failed'), admin_status);
|
||||
error: function (xhr) {
|
||||
ui_report.error(i18n.t('Failed'), xhr, admin_status);
|
||||
},
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user