mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Fixed: Header search redirects incorrectly with urlbase
This commit is contained in:
@@ -61,7 +61,7 @@ function createMapDispatchToProps(dispatch, props) {
|
|||||||
return {
|
return {
|
||||||
onGoToAddNewMovie(query) {
|
onGoToAddNewMovie(query) {
|
||||||
dispatch(setSearchDefault({ searchQuery: query, searchIndexerIds: [-1, -2] }));
|
dispatch(setSearchDefault({ searchQuery: query, searchIndexerIds: [-1, -2] }));
|
||||||
dispatch(push(`${window.Prowlarr.urlBase}search`));
|
dispatch(push(`${window.Prowlarr.urlBase}/search`));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user