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

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