Use [SE] in search results for SE mods
Instead of [SSE] so the different edtions are the same number of characters.
This commit is contained in:
parent
eebc43fbee
commit
ec65c6aaa3
@ -5,7 +5,7 @@ import { SearchResult } from "minisearch";
|
||||
import { SearchContext } from "./SearchProvider";
|
||||
import styles from "../styles/SearchBar.module.css";
|
||||
import { DownloadCountsContext } from "./DownloadCountsProvider";
|
||||
import { GameName } from "./GamesProvider";
|
||||
import type { GameName } from "../lib/games";
|
||||
|
||||
type Props = {
|
||||
sidebarOpen: boolean;
|
||||
@ -21,7 +21,7 @@ function gamePrefex(game: GameName): string {
|
||||
case "skyrim":
|
||||
return "[LE]";
|
||||
case "skyrimspecialedition":
|
||||
return "[SSE]";
|
||||
return "[SE]";
|
||||
default:
|
||||
return "";
|
||||
}
|
||||
|
@ -3,7 +3,7 @@ import MiniSearch from "minisearch";
|
||||
import useSWRImmutable from "swr/immutable";
|
||||
|
||||
import { jsonFetcher } from "../lib/api";
|
||||
import type { GameName } from "./GamesProvider";
|
||||
import type { GameName } from "../lib/games";
|
||||
|
||||
interface Mod {
|
||||
name: string;
|
||||
|
Loading…
Reference in New Issue
Block a user