fix magnifying glass search not working

This commit is contained in:
bytedream 2024-12-02 00:35:43 +01:00
parent 95968148a6
commit 7872744ab0
2 changed files with 3 additions and 0 deletions
src/routes/admin

@ -100,6 +100,7 @@
onclick={(e) => {
e.stopPropagation();
feedbackFilter.username = feedback.user.username;
fetchFeedback({ from: 0 }).then((r) => (feedbacks = r));
}}
>
<MagnifyingGlass size="14" />

@ -157,6 +157,7 @@
onclick={(e) => {
e.stopPropagation();
reportFilter.reporter = report.reporter.username;
fetchReports({ from: 0 }).then((r) => (reports = r.reports));
}}
>
<MagnifyingGlass size="14" />
@ -171,6 +172,7 @@
onclick={(e) => {
e.stopPropagation();
reportFilter.reported = report.reported.username;
fetchReports({ from: 0 }).then((r) => (reports = r.reports));
}}
>
<MagnifyingGlass size="14" />