Saving work after rounds of updates to the event object type functions.
This commit is contained in:
@@ -3,6 +3,7 @@ import { api } from '$lib/api';
|
||||
|
||||
import { db_save_ae_obj_li__ae_obj } from "$lib/ae_core/core__idb_dexie";
|
||||
import { db_events } from "$lib/ae_events/db_events";
|
||||
|
||||
import { load_ae_obj_li__event_file } from "$lib/ae_events/ae_events__event_file";
|
||||
import { load_ae_obj_li__event_presenter } from "$lib/ae_events/ae_events__event_presenter";
|
||||
|
||||
@@ -85,6 +86,15 @@ export async function load_ae_obj_id__event_presentation(
|
||||
console.log('No results returned or failed.', error);
|
||||
});
|
||||
|
||||
if (log_lvl) {
|
||||
console.log('ae_promises.load__event_presentation_obj:', ae_promises.load__event_presentation_obj);
|
||||
}
|
||||
|
||||
if (ae_promises?.load__event_presentation_obj === null) {
|
||||
console.log('No results returned.');
|
||||
return null;
|
||||
}
|
||||
|
||||
if (inc_file_li) {
|
||||
// Load the files for the presentation
|
||||
if (log_lvl) {
|
||||
@@ -666,12 +676,12 @@ export const properties_to_save = [
|
||||
|
||||
// Updated 2025-05-22
|
||||
export async function process_ae_obj__event_presentation_props({
|
||||
obj_li,
|
||||
log_lvl = 0,
|
||||
}: {
|
||||
obj_li: any[];
|
||||
log_lvl?: number;
|
||||
}) {
|
||||
obj_li,
|
||||
log_lvl = 0,
|
||||
}: {
|
||||
obj_li: any[];
|
||||
log_lvl?: number;
|
||||
}) {
|
||||
if (log_lvl) {
|
||||
console.log(`*** process_ae_obj__event_presentation_props() ***`, obj_li);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user