The IDAA Recovery Meetings view and edit now display mostly correct. They still need work though.
This commit is contained in:
@@ -48,14 +48,11 @@ export let get_object = async function get_object(
|
||||
console.log('Params:', params);
|
||||
if (log_lvl > 1) {
|
||||
console.log('Data:', data);
|
||||
console.log(`Base URL: ${api_cfg['base_url']}`);
|
||||
console.log(`Base URL: ${api_cfg['base_url']}; Timeout: ${timeout}`);
|
||||
console.log('API Config:', api_cfg);
|
||||
}
|
||||
if (log_lvl > 2) {
|
||||
console.log(`Return Meta: ${return_meta}`);
|
||||
console.log(`Return Blob: ${return_blob}`);
|
||||
console.log(`Filename: ${filename}`);
|
||||
console.log(`Auto Download: ${auto_download}`);
|
||||
console.log(`Return Meta: ${return_meta}; Return Blob: ${return_blob}; Filename: ${filename}; Auto Download: ${auto_download}`);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -338,13 +338,13 @@ async function handle_download_export__obj_type(
|
||||
for_obj_type, // Usually for an account, event, event_exhibit, or sponsorship_cfg
|
||||
for_obj_id, // The ID of the object
|
||||
exp_alt = null, // Export name (idaa, other, not 'default')
|
||||
file_type='CSV', // 'CSV' or 'Excel'
|
||||
return_file=true,
|
||||
filename='no_filename.csv',
|
||||
auto_download=false,
|
||||
limit=5000,
|
||||
params={}, // key value object is expected
|
||||
log_lvl=0
|
||||
file_type = 'CSV', // 'CSV' or 'Excel'
|
||||
return_file = true,
|
||||
filename = 'no_filename.csv',
|
||||
auto_download = false,
|
||||
limit = 5000,
|
||||
params = {}, // key value object is expected
|
||||
log_lvl = 0
|
||||
}: {
|
||||
api_cfg: any,
|
||||
get_obj_type: string,
|
||||
@@ -392,6 +392,7 @@ async function handle_download_export__obj_type(
|
||||
api_cfg: api_cfg,
|
||||
endpoint: endpoint,
|
||||
params: params,
|
||||
timeout: 90000, // Seems to timeout sometimes with the default of 60 seconds
|
||||
return_blob: return_file,
|
||||
filename: clean_filename,
|
||||
auto_download: auto_download,
|
||||
|
||||
@@ -93,6 +93,9 @@ let idaa_session_data_struct: key_val = {
|
||||
recovery_meetings: {
|
||||
qry__status: null,
|
||||
// qry__fulltext_str: null,
|
||||
|
||||
show__modal_edit: false,
|
||||
show__modal_view: false,
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user