{#if store.state.jwtinfo.userdetails.permissions.includes("DONATION:CREATE")} { console.log(event) addDonations(event.detail.donations); }} bind:modal_open /> {/if}