fix magnifying glass search not working
All checks were successful
delpoy / build-and-deploy (push) Successful in 36s

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

View File

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

View File

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