Add a backup media download progress bar
This commit is contained in:
parent
84f1d98020
commit
501f27127f
31 changed files with 640 additions and 78 deletions
|
@ -248,3 +248,11 @@ export const getLocalDeleteWarningShown = createSelector(
|
|||
(state: ItemsStateType): boolean =>
|
||||
Boolean(state.localDeleteWarningShown ?? false)
|
||||
);
|
||||
|
||||
export const getBackupMediaDownloadProgress = createSelector(
|
||||
getItems,
|
||||
(state: ItemsStateType): { totalBytes: number; downloadedBytes: number } => ({
|
||||
totalBytes: state.backupAttachmentsTotalSizeToDownload ?? 0,
|
||||
downloadedBytes: state.backupAttachmentsSuccessfullyDownloadedSize ?? 0,
|
||||
})
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue