aboutsummaryrefslogtreecommitdiffstats
path: root/src/web
diff options
context:
space:
mode:
authorRick Fletcher <fletch@pobox.com>2026-03-08 20:15:47 -0400
committerGitHub <noreply@github.com>2026-03-08 20:15:47 -0400
commitd7e3cbf77f805abb623be3bb65b32ca540caf620 (patch)
treee3f2cca162f17c1f539d87173317b4c3dd41dba1 /src/web
parent9c1c02035e6c9fb4e70251a2dea17b32c0e51d7e (diff)
downloadslskd-d7e3cbf77f805abb623be3bb65b32ca540caf620.tar.gz
Fix "Search Again"
As described in issue #1152, the "Search Again" button isn't working. I believe this change fixes the bug (seems to work for me locally), where a `search` key is missing from a function call. The bug appears to have been introduced as part of this large `eslint` commit: https://github.com/slskd/slskd/commit/4bcbde71c847a7a8c73d8ff2399a84f1d61fe766#diff-3e5657a1e0b87e183db69937ea840c41083f462cbe751b6105f11a4918ea03a0L130-L132
Diffstat (limited to 'src/web')
-rw-r--r--src/web/src/components/Search/Detail/SearchDetail.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/src/components/Search/Detail/SearchDetail.jsx b/src/web/src/components/Search/Detail/SearchDetail.jsx
index 1ec53849..458da3d3 100644
--- a/src/web/src/components/Search/Detail/SearchDetail.jsx
+++ b/src/web/src/components/Search/Detail/SearchDetail.jsx
@@ -129,7 +129,7 @@ const SearchDetail = ({
const create = async ({ navigate, search: searchForCreate }) => {
reset();
- onCreate({ navigate, searchForCreate });
+ onCreate({ navigate, search: searchForCreate });
};
const remove = async () => {