@@ -1,12 +1,10 @@
|
||||
<script>
|
||||
import { _ } from "svelte-i18n";
|
||||
import store from "../../store";
|
||||
// import AddRunnerModal from "./AddRunnerModal.svelte";
|
||||
// import ImportRunnerModal from "./ImportRunnerModal.svelte";
|
||||
import AddDonorModal from "./AddDonorModal.svelte";
|
||||
import DonorsOverview from "./DonorsOverview.svelte";
|
||||
$: current_donors = [];
|
||||
export let modal_open = false;
|
||||
// export let import_modal_open = false;
|
||||
</script>
|
||||
|
||||
<section class="container p-5">
|
||||
@@ -26,6 +24,6 @@
|
||||
<DonorsOverview bind:current_donors />
|
||||
</section>
|
||||
|
||||
<!-- {#if store.state.jwtinfo.userdetails.permissions.includes('DONOR:CREATE')}
|
||||
<AddRunnerModal bind:current_runners bind:modal_open />
|
||||
{/if} -->
|
||||
{#if store.state.jwtinfo.userdetails.permissions.includes('DONOR:CREATE')}
|
||||
<AddDonorModal bind:current_donors bind:modal_open />
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user