fix report dropdown

This commit is contained in:
2025-12-20 13:00:49 +01:00
parent 217c622fb3
commit ce13420116
2 changed files with 2 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ const { report } = Astro.props;
<form id="report" data-url-hash={report.urlHash} data-adversary-username={report.reported?.username}>
<div class="space-y-4 my-4">
<div class="flex flex-col gap-4">
<AdversarySearch client:load />
<AdversarySearch adversary={report.reported?.username} client:load />
<Input id="reason" value={report.reason} label="Report Grund" dynamicWidth required />
<Textarea id="body" value={report.body} label="Details" rows={10} dynamicWidth required />
<Dropzone maxFilesBytes={MAX_UPLOAD_BYTES} client:load />