mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-02-02 16:23:48 +03:00
fix: sanity check in case repack is null
This commit is contained in:
parent
5b864367e8
commit
be13ecc5aa
@ -105,7 +105,7 @@ export function Downloads() {
|
|||||||
if (GameStatusHelper.isReady(game?.status)) {
|
if (GameStatusHelper.isReady(game?.status)) {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<p>{game?.repack.title}</p>
|
<p>{game?.repack?.title}</p>
|
||||||
<p>{t("completed")}</p>
|
<p>{t("completed")}</p>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
@ -95,7 +95,7 @@ export interface Game extends Omit<CatalogueEntry, "cover"> {
|
|||||||
folderName: string;
|
folderName: string;
|
||||||
downloadPath: string | null;
|
downloadPath: string | null;
|
||||||
repacks: GameRepack[];
|
repacks: GameRepack[];
|
||||||
repack: GameRepack;
|
repack: GameRepack | null;
|
||||||
progress: number;
|
progress: number;
|
||||||
fileVerificationProgress: number;
|
fileVerificationProgress: number;
|
||||||
decompressionProgress: number;
|
decompressionProgress: number;
|
||||||
|
Loading…
Reference in New Issue
Block a user