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