search download fix

This commit is contained in:
nmemmert
2026-06-09 10:02:01 -04:00
parent c4645e3475
commit 75d490020b
3 changed files with 21 additions and 12 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ export function GlobalSearch({ query, setQuery, results }: Props) {
function handleSelect(result: SearchResult) {
setOpen(false)
setQuery('')
if (result.type === 'episode' && result.href.startsWith('http')) {
if (result.href.startsWith('http')) {
window.open(result.href, '_blank', 'noreferrer')
} else {
navigate(result.href)