Wrapping up for the day. The new launcher is partially working. There is a lot of work to do.

This commit is contained in:
Scott Idem
2024-08-02 19:11:35 -04:00
parent 352639e702
commit 0d34f81fa7
16 changed files with 2118 additions and 213 deletions

View File

@@ -56,13 +56,15 @@ export async function handle_load_ae_obj_id__event_session(
export async function handle_load_ae_obj_li__event_session(
{
api_cfg,
event_id,
for_obj_type,
for_obj_id,
params={},
try_cache=true,
log_lvl=0
}: {
api_cfg: any,
event_id: string,
for_obj_type: string,
for_obj_id: string,
params?: key_val,
try_cache?: boolean,
log_lvl?: number
@@ -82,8 +84,8 @@ export async function handle_load_ae_obj_li__event_session(
ae_promises.load__event_session_obj_li = await api.get_ae_obj_li_for_obj_id_crud({
api_cfg: api_cfg,
obj_type: 'event_session',
for_obj_type: 'event',
for_obj_id: event_id,
for_obj_type: for_obj_type,
for_obj_id: for_obj_id,
use_alt_table: true, // NOTE: This will use the table_name_alt value instead of the table_name value in the API config.
use_alt_base: false, // NOTE: This will use the base_name_alt value instead of the base_name value
enabled: enabled,
@@ -110,7 +112,7 @@ export async function handle_load_ae_obj_li__event_session(
if (log_lvl) {
console.log('ae_promises.load__event_session_obj_li:', ae_promises.load__event_session_obj_li);
}
return ae_promises.load__event_session;
return ae_promises.load__event_session_obj_li;
}

View File

@@ -19,7 +19,7 @@ export let for_id: null|string = null;
console.log(`ae_e_data_store ${ds_code} for_type=${for_type} for_id=${for_id} account_id=${$ae_loc.account_id}`);
// export let store: string = 'local';
// export let display: string = 'block';
export let display: string = 'block'; // Avoid; Use class list instead
export let class_li: string = ''; // : string[] = [];
export let try_cache: boolean = true;