{#if store.state.jwtinfo.userdetails.permissions.includes('SCAN:CREATE')} { addScans(event.detail.scans) }} /> {/if}