mirror of
https://github.com/zkldi/Tachi.git
synced 2026-09-30 02:48:01 +03:00
SearchBar should prefer the current games playtype.
This commit is contained in:
@@ -142,9 +142,8 @@ function SearchResults({ results }: { results: SearchReturns }) {
|
||||
{results.songs.map(s => (
|
||||
<SearchResult
|
||||
key={s.id + s.game}
|
||||
link={`/dashboard/games/${s.game}/${
|
||||
GetGameConfig(s.game).defaultPlaytype
|
||||
}/songs/${s.id}`}
|
||||
link={`/dashboard/games/${s.game}/${playtype ??
|
||||
GetGameConfig(s.game).defaultPlaytype}/songs/${s.id}`}
|
||||
tabIndex={0}
|
||||
>
|
||||
<strong>{FormatSongTitle(s.game, s)}</strong>
|
||||
|
||||
Reference in New Issue
Block a user