Working through bugs... Related to data stores and not using the for type and for id... They were locked.
This commit is contained in:
@@ -147,6 +147,20 @@ $effect(() => {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Context Change Guard: reset loading status when identity props change.
|
||||||
|
// WHY: ds_loading_status persists after the initial load cycle ('loaded', 'not found', etc.).
|
||||||
|
// When for_id/for_type/ds_code change after mount (e.g. for_id resolves from undefined
|
||||||
|
// to a real event_id), the trigger effect below won't re-fire unless we reset to 'starting'.
|
||||||
|
// untrack() prevents a circular dep — we write ds_loading_status but don't subscribe to it here.
|
||||||
|
$effect(() => {
|
||||||
|
void for_id;
|
||||||
|
void for_type;
|
||||||
|
void ds_code;
|
||||||
|
untrack(() => {
|
||||||
|
ds_loading_status = 'starting';
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
// Initial Trigger & Context Change Guard
|
// Initial Trigger & Context Change Guard
|
||||||
$effect(() => {
|
$effect(() => {
|
||||||
const account_id = $slct.account_id;
|
const account_id = $slct.account_id;
|
||||||
|
|||||||
@@ -353,7 +353,7 @@ $effect(() => {
|
|||||||
<span class="justify-self-start">
|
<span class="justify-self-start">
|
||||||
<!-- Be sure to explain what Æ (Aether) means in the title text or similar! -->
|
<!-- Be sure to explain what Æ (Aether) means in the title text or similar! -->
|
||||||
<Satellite size="1.5em" class="mx-1 inline-block text-gray-500" />
|
<Satellite size="1.5em" class="mx-1 inline-block text-gray-500" />
|
||||||
<abbr title="Aether - IDAA Module"> Æ IDAA </abbr>
|
<abbr title="Aether - IDAA Module">Æ IDAA </abbr>
|
||||||
</span>
|
</span>
|
||||||
<a
|
<a
|
||||||
href="/"
|
href="/"
|
||||||
@@ -375,6 +375,7 @@ $effect(() => {
|
|||||||
{@render children?.()}
|
{@render children?.()}
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
<!-- The footer for the IDAA section of the site -->
|
||||||
<section
|
<section
|
||||||
class="module_footer footer_content lg:text-md xl:text-md flex min-h-7 px-1 py-0.5 text-sm text-slate-400 transition hover:text-slate-800 sm:text-sm 2xl:text-lg"
|
class="module_footer footer_content lg:text-md xl:text-md flex min-h-7 px-1 py-0.5 text-sm text-slate-400 transition hover:text-slate-800 sm:text-sm 2xl:text-lg"
|
||||||
class:ae_debug={$ae_loc?.debug}>
|
class:ae_debug={$ae_loc?.debug}>
|
||||||
|
|||||||
Reference in New Issue
Block a user