Sponsor Hub part looks pretty good now. Still need to enable the delete buttons.

This commit is contained in:
Scott Idem
2024-03-08 21:09:58 -05:00
parent 875f327c90
commit 4136c08cdb
6 changed files with 290 additions and 98 deletions

View File

@@ -82,7 +82,8 @@ onMount(() => {
ae_util.handle_url_and_message('event_presenter_id', $slct.event_presenter_id);
if ($slct.event_presenter_id) {
console.log(`Got an ID. Let's show the modal!`);
modalStore.trigger(modal_edit__event_presenter);
// This causes a problem frequently... See through...
// modalStore.trigger(modal_edit__event_presenter);
} else {
console.log(`No ID. Nothing to show.`);
}
@@ -251,6 +252,15 @@ $: if (testing) {
<section>
{#if $slct.event_presenter_id}
<div class="text-center m-4">
{#if $slct.event_presenter_obj}
<p>Welcome to the Speaker Hub {$slct.event_presenter_obj.full_name}!</p>
{:else}
<p>Welcome to the Speaker Hub!</p>
{/if}
</div>
<button
class="btn variant-ghost-primary w-96"
on:click={() => {