Trying to make things work better...

This commit is contained in:
Scott Idem
2024-03-26 14:24:35 -04:00
parent 040e1e71e3
commit 4d486a580c
22 changed files with 508 additions and 410 deletions

View File

@@ -8,6 +8,7 @@ import { ae_loc, ae_sess, ae_api, slct, slct_trigger } from '$lib/ae_stores';
import { core_func } from '$lib/ae_core_functions';
import type { key_val } from '$lib/ae_stores';
// export const prerender = false;
// There is not an initial data store from SvelteKit for this, so we will just use the API to get the data.
// properties: params, route, url
@@ -129,21 +130,11 @@ export async function load({ fetch, params, parent, route, url }) { // params, r
.finally(function () {
let iframe = url.searchParams.get('iframe');
// console.log(`iframe = `, iframe);
if (iframe == 'true') {
// data_struct['iframe'] = iframe;
ae_loc_tmp.iframe = true;
} else if (iframe == 'false') {
// data_struct['iframe'] = false;
ae_loc_tmp.iframe = false;
}
// console.log(`ae_ ds_code_li = `, ds_code_li);
ae_loc_tmp = {
...ae_loc_tmp,
'ds': ds_code_li,
}
// ae_loc_tmp = {
// ...ae_loc_tmp,
// 'ds': ds_code_li,
// }
// console.log(`ae_loc_tmp = `, ae_loc_tmp);