Wrapping up for the day. I need to research this. Why does the first link (anchor tag) that is hovered over (triggers pre-load) fail if the URL has a “slug” value? Or any URL??? Any links after the first seem to pre-load fine.
This commit is contained in:
@@ -16,7 +16,7 @@ export async function load({ parent }) { // route
|
|||||||
let ae_acct = data[account_id];
|
let ae_acct = data[account_id];
|
||||||
console.log(`ae_acct = `, ae_acct);
|
console.log(`ae_acct = `, ae_acct);
|
||||||
|
|
||||||
let person_id = await data.params.slug;
|
let person_id = await data.params.person_id;
|
||||||
// let person_id_test = data.params.person.slug;
|
// let person_id_test = data.params.person.slug;
|
||||||
// console.log(`person_id_test = `, person_id_test);
|
// console.log(`person_id_test = `, person_id_test);
|
||||||
if (!person_id) {
|
if (!person_id) {
|
||||||
Reference in New Issue
Block a user