Skip to content

Commit 7a07eee

Browse files
committed
Fix search result click
1 parent 706a55b commit 7a07eee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/apps/desktop/src/components/search-input.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export function SearchInput({
110110
icon: item.icon,
111111
onFocus: () => {},
112112
onMouseEnter: () => {},
113-
onSelect: () => onSelect({id: item.id}),
113+
onSelect: () => onSelect({id: item.id, route: appRouteOfId(item.id)}),
114114
subtitle: HYPERMEDIA_ENTITY_TYPES[item.id.type],
115115
}
116116
})

0 commit comments

Comments
 (0)