Sponsor Hub part looks pretty good now. Still need to enable the delete buttons.
This commit is contained in:
@@ -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={() => {
|
||||
|
||||
Reference in New Issue
Block a user