Improved downloading export files.

This commit is contained in:
Scott Idem
2024-04-23 17:42:44 -04:00
parent 2aff1aadbe
commit 69c1250961
6 changed files with 19 additions and 9 deletions

View File

@@ -395,7 +395,7 @@ async function handle_load_ae_obj_id__event_presenter({event_presenter_id, try_c
for_obj_id: $slct.account_id,
file_type: 'Excel',
return_file: true,
filename: `speakers_export_${$ae_loc.account_code.replaceAll(' ', '_')}.xlsx`,
filename: `${$ae_loc.account_code}_Speakers_Hub_export_${ae_util.iso_datetime_formatter()}.xlsx`,
auto_download: true,
log_lvl: 2
});