Bug fix for saving location in session view
This commit is contained in:
@@ -375,7 +375,7 @@ let clipboard_success = $state(false);
|
||||
object_id={$lq__event_session_obj?.event_session_id}
|
||||
field_name={'event_location_id_random'}
|
||||
field_type={'select'}
|
||||
field_value={ae_tmp.event_location_id}
|
||||
field_value={ae_tmp.event_location_id_random}
|
||||
select_option_li={$slct.event_location_obj_kv}
|
||||
val_empty_is_null={true}
|
||||
allow_null={$ae_loc.administrator_access}
|
||||
@@ -454,7 +454,7 @@ let clipboard_success = $state(false);
|
||||
event_location_obj_kv[''] = '-- Select a location --';
|
||||
event_location_obj_li.forEach((event_location_obj) => {
|
||||
let option_text = `${event_location_obj.name} (${event_location_obj.code})`;
|
||||
event_location_obj_kv[event_location_obj.event_location_id] = option_text;
|
||||
event_location_obj_kv[event_location_obj.event_location_id_random] = option_text;
|
||||
});
|
||||
$slct.event_location_obj_kv = event_location_obj_kv;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user