Standardize Event DB/Types and fix critical UI type mismatches across Badges, Journals, and Locations modules

This commit is contained in:
Scott Idem
2026-02-04 17:57:42 -05:00
parent 2e804ae01b
commit db34da66dc
15 changed files with 251 additions and 137 deletions

View File

@@ -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';

View File

@@ -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