mirror of
https://github.com/zulip/zulip.git
synced 2025-11-20 14:38:46 +00:00
export: Add banner if admin's private data export setting is disabled.
This commit introduces a banner on the "Start Export" modal to notify the admin that their personal setting to export private data is not toggled ON. The banner is shown when the 'Export type' is 'Standard' and admin's personal setting to export private data is not toggled ON. The banner ensures admins are aware their private data will not be exported unless they enable the respective setting.
This commit is contained in:
committed by
Tim Abbott
parent
891a35570b
commit
469cc53187
@@ -764,6 +764,9 @@ export function dispatch_normal_event(event) {
|
||||
if (event.property === "presence_enabled") {
|
||||
activity_ui.redraw_user(current_user.user_id);
|
||||
}
|
||||
if (event.property === "allow_private_data_export") {
|
||||
settings_exports.refresh_allow_private_data_export_banner();
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user