Continuing to make updates to the Data Stores to use v3.
This commit is contained in:
@@ -18,8 +18,6 @@
|
||||
|
||||
let { data }: Props = $props();
|
||||
|
||||
// import Element_data_store from '$lib/element_data_store_v2.svelte';
|
||||
|
||||
let lq__event_obj_li = $derived(
|
||||
liveQuery(async () => {
|
||||
const account_id = $page.data.account_id;
|
||||
@@ -62,9 +60,6 @@
|
||||
});
|
||||
</script>
|
||||
|
||||
<!-- <section
|
||||
class="ae_events_pres_mgmt md:container h-full mx-auto"
|
||||
> -->
|
||||
|
||||
<h2 class="h3">Presentation Management for {$ae_loc.account_name ?? 'Æ loading...'}</h2>
|
||||
|
||||
@@ -104,10 +99,6 @@
|
||||
/> -->
|
||||
|
||||
{#if $lq__event_obj_li}
|
||||
<!-- <div class="flex flex-row items-center justify-center">
|
||||
<span class="fas fa-check text-green-500 mx-1"></span>
|
||||
<span>Loaded</span>
|
||||
</div> -->
|
||||
|
||||
{#if $lq__event_obj_li.length}
|
||||
<ul class="space-y-2">
|
||||
@@ -126,14 +117,6 @@
|
||||
<strong>
|
||||
{event_obj.name}
|
||||
</strong>
|
||||
<!-- <a
|
||||
href="/events/{event_obj.event_id}"
|
||||
class="btn btn-md preset-tonal-primary border border-primary-500 hover:preset-filled-primary-500"
|
||||
>
|
||||
{ae_util.iso_datetime_formatter(event_obj.start_datetime, 'date_long')}
|
||||
-
|
||||
{event_obj.name}
|
||||
</a> -->
|
||||
{:else}
|
||||
<span>
|
||||
<span class="fas fa-calendar-alt mx-1"></span>
|
||||
@@ -145,11 +128,6 @@
|
||||
<strong>
|
||||
{event_obj.name}
|
||||
</strong>
|
||||
<!-- <button disabled class="btn btn-md preset-tonal-surface border border-surface-500">
|
||||
{ae_util.iso_datetime_formatter(event_obj.start_datetime, 'date_long')}
|
||||
-
|
||||
{event_obj.name}
|
||||
</button> -->
|
||||
{/if}
|
||||
</span>
|
||||
|
||||
@@ -220,17 +198,4 @@
|
||||
<span class="fas fa-spinner fa-spin mx-1"></span>
|
||||
<span>Loading...</span>
|
||||
</div>
|
||||
<!-- {/if} -->
|
||||
{/if}
|
||||
|
||||
<!-- {:catch error}
|
||||
<div class="text-red-800">
|
||||
<span class="fas fa-exclamation-triangle text-xl"></span>
|
||||
<span>Error: {error.message}</span>
|
||||
</div>
|
||||
{/await} -->
|
||||
|
||||
<!-- </section> -->
|
||||
|
||||
<style lang="postcss">
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user