From 29d05b246d3d2909e42ec31f2dec93aae307d8b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Poizat?= Date: Thu, 21 Dec 2023 11:38:34 +0100 Subject: [PATCH] fix(backup): Display a loading button when waiting first answer from flagship app --- src/photos/ducks/backup/components/BackupActions.jsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/photos/ducks/backup/components/BackupActions.jsx b/src/photos/ducks/backup/components/BackupActions.jsx index ea3a7bf3..44eea684 100644 --- a/src/photos/ducks/backup/components/BackupActions.jsx +++ b/src/photos/ducks/backup/components/BackupActions.jsx @@ -51,7 +51,9 @@ const BackupActions = () => { if (!backupPermissions) return null if (backupPermissions.granted) { - if (!backupInfo) return null + if (!backupInfo) { + return + } const { currentBackup: { status, mediasToBackupCount, totalMediasToBackupCount }