search download fix

This commit is contained in:
nmemmert committed 2026-06-09 10:02:01 -04:00
1 parent c4645e3475
commit 75d490020b
3 files changed
+21 -12

No files matched your search

+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)