Skip to content

Commit d170fda

Browse files
committed
Fix #965 Total Download Size is empty on confirmation page
1 parent 289f11f commit d170fda

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

browser/main.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ let mainModule =
6262
data: {
6363
displayName: 'Selection'
6464
}
65-
})
65+
})
6666
.state('confirm', {
6767
url: '/confirm',
6868
controller: 'ConfirmController as confCtrl',
@@ -100,6 +100,8 @@ let mainModule =
100100
return function(text) {
101101
if(text) {
102102
return humanize.filesize(text);
103+
} else {
104+
return '0 MB';
103105
}
104106
};
105107
});

0 commit comments

Comments
 (0)