mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-11 16:05:47 +01:00
🐛 Fix a bug with searching just "!os" in overseerr
This commit is contained in:
@@ -81,7 +81,7 @@ export default function SearchBar(props: any) {
|
||||
}
|
||||
if (form.values.query.startsWith('!os')) {
|
||||
axios
|
||||
.get(`/api/modules/overseerr?query=${form.values.query.replace('!os ', '')}`)
|
||||
.get(`/api/modules/overseerr?query=${form.values.query.replace('!os', '').trim()}`)
|
||||
.then((res) => {
|
||||
setOverseerrResults(res.data.results ?? []);
|
||||
setLoading(false);
|
||||
|
||||
Reference in New Issue
Block a user