Report von {reporterName} gegen {reported !== null ? reported : 'unbekannt'}

{ e.preventDefault(); if (reported != null && users.findIndex((u) => u === reported) === -1) { showPopupModal({ title: 'Fehler', text: 'Der zu reportende Spieler existiert nicht.', actions: [{ text: 'Schließen' }] }); } else { showPopupModal({ title: 'Report abschicken?', text: 'Nach dem Abschicken des Reports wird sich ein Admin schnellstmöglich darum kümmern.', actions: [ { text: 'Abschicken', action: async () => { await submitReport(); onsubmit(); } }, { text: 'Abbrechen' } ] }); } }} >
{#if reported !== null} {/if}
{#snippet label()} Report Grund {/snippet}