From 43488b8f76844cac1ef43f38cfbaa9d9681c71cc Mon Sep 17 00:00:00 2001 From: Scott Idem Date: Wed, 17 Jul 2024 18:30:08 -0400 Subject: [PATCH] =?UTF-8?q?Wrapping=20up=20for=20the=20day.=20I=20need=20t?= =?UTF-8?q?o=20research=20this.=20Why=20does=20the=20first=20link=20(ancho?= =?UTF-8?q?r=20tag)=20that=20is=20hovered=20over=20(triggers=20pre-load)?= =?UTF-8?q?=20fail=20if=20the=20URL=20has=20a=20=E2=80=9Cslug=E2=80=9D=20v?= =?UTF-8?q?alue=3F=20Or=20any=20URL=3F=3F=3F=20Any=20links=20after=20the?= =?UTF-8?q?=20first=20seem=20to=20pre-load=20fine.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/routes/core/person/{[slug] => [person_id]}/+page.svelte | 0 src/routes/core/person/{[slug] => [person_id]}/+page.ts | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename src/routes/core/person/{[slug] => [person_id]}/+page.svelte (100%) rename src/routes/core/person/{[slug] => [person_id]}/+page.ts (97%) diff --git a/src/routes/core/person/[slug]/+page.svelte b/src/routes/core/person/[person_id]/+page.svelte similarity index 100% rename from src/routes/core/person/[slug]/+page.svelte rename to src/routes/core/person/[person_id]/+page.svelte diff --git a/src/routes/core/person/[slug]/+page.ts b/src/routes/core/person/[person_id]/+page.ts similarity index 97% rename from src/routes/core/person/[slug]/+page.ts rename to src/routes/core/person/[person_id]/+page.ts index 730631f0..40996643 100644 --- a/src/routes/core/person/[slug]/+page.ts +++ b/src/routes/core/person/[person_id]/+page.ts @@ -16,7 +16,7 @@ export async function load({ parent }) { // route let ae_acct = data[account_id]; 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; // console.log(`person_id_test = `, person_id_test); if (!person_id) {