Standardize Event DB/Types and fix critical UI type mismatches across Badges, Journals, and Locations modules
This commit is contained in:
@@ -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