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' } ] }); } }} >
{ reported = e.value === 0 ? reportedName || '' : null; }} >
Ich möchte einen bestimmten Spieler reporten
Ich möchte einen unbekannten Spieler reporten
{#if reported !== null}
{/if}
{#snippet label()}
Report Grund
{/snippet}