mirror of
https://github.com/RetroShare/RSNewWebUI.git
synced 2026-09-14 11:05:47 +05:00
fixed file sizes
This commit is contained in:
parent
f68ed741c0
commit
30c8a32f0e
@ -119,11 +119,11 @@ const File = () => {
|
||||
v.attrs.info.downloadStatus === FT_STATE_PAUSED ?
|
||||
'resume' : 'pause'),
|
||||
m(ProgressBar, {
|
||||
rate: v.attrs.info.transfered / v.attrs.info.size *
|
||||
rate: v.attrs.info.transfered.xint64 / v.attrs.info.size.xint64 *
|
||||
100,
|
||||
}),
|
||||
m('span', m('i.fas.fa-file'), makeFriendlyUnit(
|
||||
v.attrs.info.size)),
|
||||
v.attrs.info.size.xint64)),
|
||||
m('span', m('i.fas.fa-arrow-circle-down'),
|
||||
makeFriendlyUnit(v.attrs.info.tfRate * 1024) + '/s'),
|
||||
]),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user