Added basic scan overview

ref #92
This commit is contained in:
2021-03-17 13:49:51 +01:00
parent e9d5527482
commit eb0910be57
2 changed files with 90 additions and 72 deletions

View File

@@ -2,8 +2,8 @@
import { _ } from "svelte-i18n";
import store from "../../store";
// import AddDonationModal from "./AddDonationModal.svelte";
// import DonationsOverview from "./DonationsOverview.svelte";
$: current_donations = [];
import ScansOverview from "./ScansOverview.svelte";
$: current_scans = [];
export let modal_open = false;
</script>
@@ -21,9 +21,9 @@
</button>
{/if}
</span>
<!-- <DonationsOverview bind:current_donations /> -->
<ScansOverview bind:current_scans />
</section>
{#if store.state.jwtinfo.userdetails.permissions.includes('SCAN:CREATE')}
<!-- <AddDonationModal bind:current_donations bind:modal_open /> -->
<!-- <AddDonationModal bind:current_scans bind:modal_open /> -->
{/if}