add option to filter reporter or reported by clicking on the magnifying glass next to their names on admin report page
All checks were successful
delpoy / build-and-deploy (push) Successful in 49s
All checks were successful
delpoy / build-and-deploy (push) Successful in 49s
This commit is contained in:
parent
9be57c1004
commit
56aa3c2673
@ -87,8 +87,26 @@
|
||||
}}
|
||||
>
|
||||
<td title={report.subject}><div class="overflow-scroll">{report.subject}</div></td>
|
||||
<td>{report.reporter.username}</td>
|
||||
<td>{report.reported.username}</td>
|
||||
<td class="flex">
|
||||
{report.reporter.username}
|
||||
<button
|
||||
class="pl-1"
|
||||
title="Nach Ersteller filtern"
|
||||
on:click|stopPropagation={() => (reportFilter.reporter = report.reporter.username)}
|
||||
>
|
||||
<IconOutline name="magnifying-glass-outline" width="14" height="14" />
|
||||
</button>
|
||||
</td>
|
||||
<td>
|
||||
{report.reported.username}
|
||||
<button
|
||||
class="pl-1"
|
||||
title="Nach Reportetem Spieler filtern"
|
||||
on:click|stopPropagation={() => (reportFilter.reported = report.reported.username)}
|
||||
>
|
||||
<IconOutline name="magnifying-glass-outline" width="14" height="14" />
|
||||
</button>
|
||||
</td>
|
||||
<td
|
||||
>{new Intl.DateTimeFormat('de-DE', {
|
||||
year: 'numeric',
|
||||
|
Loading…
x
Reference in New Issue
Block a user