parent
8d89d158d1
commit
8042bca7cc
@ -1,7 +1,7 @@
|
|||||||
<script>
|
<script>
|
||||||
import { _ } from "svelte-i18n";
|
import { _ } from "svelte-i18n";
|
||||||
import store from "../../store";
|
import store from "../../store";
|
||||||
// import AddDonorModal from "./AddDonorModal.svelte";
|
import AddDonationModal from "./AddDonationModal.svelte";
|
||||||
import DonationsOverview from "./DonationsOverview.svelte";
|
import DonationsOverview from "./DonationsOverview.svelte";
|
||||||
$: current_donations = [];
|
$: current_donations = [];
|
||||||
export let modal_open = false;
|
export let modal_open = false;
|
||||||
@ -24,6 +24,6 @@
|
|||||||
<DonationsOverview bind:current_donations />
|
<DonationsOverview bind:current_donations />
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<!-- {#if store.state.jwtinfo.userdetails.permissions.includes('DONATION:CREATE')}
|
{#if store.state.jwtinfo.userdetails.permissions.includes('DONATION:CREATE')}
|
||||||
<AddDonorModal bind:current_donors bind:modal_open />
|
<AddDonationModal bind:current_donations bind:modal_open />
|
||||||
{/if} -->
|
{/if}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user