Trying to make things work better...
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user