Standardize Event DB/Types and fix critical UI type mismatches across Badges, Journals, and Locations modules
This commit is contained in:
@@ -50,7 +50,7 @@
|
||||
console.log('** Element Mounted: ** Element Input File');
|
||||
});
|
||||
|
||||
async function process_file_list(file_list) {
|
||||
async function process_file_list(file_list: FileList | null) {
|
||||
console.log('*** process_file_list() ***');
|
||||
|
||||
file_list_status = 'processing';
|
||||
|
||||
@@ -441,14 +441,14 @@
|
||||
!$ae_loc.trusted_access}
|
||||
value={event_file_obj.file_purpose}
|
||||
onchange={(e) => {
|
||||
// ae_tmp[event_file_obj.event_file_id].file_purpose = e.target.value;
|
||||
// ae_tmp[event_file_obj.event_file_id].file_purpose = (e.target as HTMLInputElement).value;
|
||||
console.log(
|
||||
`Selected file_purpose: ${e.target.value}`
|
||||
`Selected file_purpose: ${(e.target as HTMLInputElement).value}`
|
||||
);
|
||||
|
||||
let event_file_data = {
|
||||
event_file_id: event_file_obj.event_file_id,
|
||||
file_purpose: e.target.value
|
||||
file_purpose: (e.target as HTMLInputElement).value
|
||||
};
|
||||
|
||||
events_func
|
||||
|
||||
Reference in New Issue
Block a user