diff --git a/src/renderer/src/pages/game-details/cloud-sync-modal/cloud-sync-modal.tsx b/src/renderer/src/pages/game-details/cloud-sync-modal/cloud-sync-modal.tsx index 64d7a0cf..80d495af 100644 --- a/src/renderer/src/pages/game-details/cloud-sync-modal/cloud-sync-modal.tsx +++ b/src/renderer/src/pages/game-details/cloud-sync-modal/cloud-sync-modal.tsx @@ -203,9 +203,10 @@ export function CloudSyncModal({ visible, onClose }: CloudSyncModalProps) {

- {t("backup_from", { - date: format(artifact.createdAt, "dd/MM/yyyy"), - })} + {artifact.label ?? + t("backup_from", { + date: format(artifact.createdAt, "dd/MM/yyyy"), + })}

{formatBytes(artifact.artifactLengthInBytes)}
diff --git a/src/types/index.ts b/src/types/index.ts index a8726b6b..c40487bd 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -253,6 +253,7 @@ export interface GameArtifact { updatedAt: string; hostname: string; downloadCount: number; + label?: string; } export interface ComparedAchievements {