Fix download media banner styles
This commit is contained in:
parent
e93a173159
commit
2f6270c585
5 changed files with 89 additions and 30 deletions
|
@ -35,7 +35,8 @@ export function BackupMediaDownloadProgress({
|
|||
}: PropsType): JSX.Element | null {
|
||||
const [isShowingCancelConfirmation, setIsShowingCancelConfirmation] =
|
||||
useState(false);
|
||||
if (totalBytes === 0) {
|
||||
|
||||
if (totalBytes <= 0) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue