mirror of
https://github.com/zulip/zulip.git
synced 2025-11-11 17:36:27 +00:00
settings_exports: Add 'Type' column to data exports table.
This commit adds a 'Type' column to the Data exports table in the org settings. It specifies whether it's a public data or standard export. Fixes part of #31201.
This commit is contained in:
committed by
Tim Abbott
parent
6e7cb8a8c4
commit
723346b05c
@@ -82,6 +82,12 @@ export function populate_exports_table(exports: RealmExport[]): void {
|
||||
);
|
||||
}
|
||||
|
||||
let export_type = settings_config.export_type_values.export_public.description;
|
||||
if (data.export_type !== settings_config.export_type_values.export_public.value) {
|
||||
export_type =
|
||||
settings_config.export_type_values.export_full_with_consent.description;
|
||||
}
|
||||
|
||||
return render_admin_export_list({
|
||||
realm_export: {
|
||||
id: data.id,
|
||||
@@ -94,6 +100,7 @@ export function populate_exports_table(exports: RealmExport[]): void {
|
||||
time_failed: failed_timestamp,
|
||||
pending: data.pending,
|
||||
time_deleted: deleted_timestamp,
|
||||
export_type,
|
||||
},
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user