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 { SearchContext } from "./SearchProvider";
|
||||||
import styles from "../styles/SearchBar.module.css";
|
import styles from "../styles/SearchBar.module.css";
|
||||||
import { DownloadCountsContext } from "./DownloadCountsProvider";
|
import { DownloadCountsContext } from "./DownloadCountsProvider";
|
||||||
import { GameName } from "./GamesProvider";
|
import type { GameName } from "../lib/games";
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
sidebarOpen: boolean;
|
sidebarOpen: boolean;
|
||||||
@ -21,7 +21,7 @@ function gamePrefex(game: GameName): string {
|
|||||||
case "skyrim":
|
case "skyrim":
|
||||||
return "[LE]";
|
return "[LE]";
|
||||||
case "skyrimspecialedition":
|
case "skyrimspecialedition":
|
||||||
return "[SSE]";
|
return "[SE]";
|
||||||
default:
|
default:
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,7 @@ import MiniSearch from "minisearch";
|
|||||||
import useSWRImmutable from "swr/immutable";
|
import useSWRImmutable from "swr/immutable";
|
||||||
|
|
||||||
import { jsonFetcher } from "../lib/api";
|
import { jsonFetcher } from "../lib/api";
|
||||||
import type { GameName } from "./GamesProvider";
|
import type { GameName } from "../lib/games";
|
||||||
|
|
||||||
interface Mod {
|
interface Mod {
|
||||||
name: string;
|
name: string;
|
||||||
|
Loading…
Reference in New Issue
Block a user