feat: adding automatic cloud sync

This commit is contained in:
Chubby Granny Chaser
2025-03-09 19:17:59 +00:00
parent ed699a8dee
commit 857063d2c7
2 changed files with 5 additions and 3 deletions

View File

@@ -203,9 +203,10 @@ export function CloudSyncModal({ visible, onClose }: CloudSyncModalProps) {
<div className="cloud-sync-modal__artifact-info">
<div className="cloud-sync-modal__artifact-header">
<h3>
{t("backup_from", {
date: format(artifact.createdAt, "dd/MM/yyyy"),
})}
{artifact.label ??
t("backup_from", {
date: format(artifact.createdAt, "dd/MM/yyyy"),
})}
</h3>
<small>{formatBytes(artifact.artifactLengthInBytes)}</small>
</div>

View File

@@ -253,6 +253,7 @@ export interface GameArtifact {
updatedAt: string;
hostname: string;
downloadCount: number;
label?: string;
}
export interface ComparedAchievements {