mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-28 13:21:02 +00:00
feat: adding automatic cloud sync
This commit is contained in:
@@ -203,9 +203,10 @@ export function CloudSyncModal({ visible, onClose }: CloudSyncModalProps) {
|
|||||||
<div className="cloud-sync-modal__artifact-info">
|
<div className="cloud-sync-modal__artifact-info">
|
||||||
<div className="cloud-sync-modal__artifact-header">
|
<div className="cloud-sync-modal__artifact-header">
|
||||||
<h3>
|
<h3>
|
||||||
{t("backup_from", {
|
{artifact.label ??
|
||||||
date: format(artifact.createdAt, "dd/MM/yyyy"),
|
t("backup_from", {
|
||||||
})}
|
date: format(artifact.createdAt, "dd/MM/yyyy"),
|
||||||
|
})}
|
||||||
</h3>
|
</h3>
|
||||||
<small>{formatBytes(artifact.artifactLengthInBytes)}</small>
|
<small>{formatBytes(artifact.artifactLengthInBytes)}</small>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -253,6 +253,7 @@ export interface GameArtifact {
|
|||||||
updatedAt: string;
|
updatedAt: string;
|
||||||
hostname: string;
|
hostname: string;
|
||||||
downloadCount: number;
|
downloadCount: number;
|
||||||
|
label?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ComparedAchievements {
|
export interface ComparedAchievements {
|
||||||
|
|||||||
Reference in New Issue
Block a user