mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-11 10:47:24 +00:00
UBERF-9649 Fix file upload progress (#8264)
Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
This commit is contained in:
parent
a0b7bcdf32
commit
3c0d2a9756
@ -43,7 +43,7 @@
|
||||
{:else}
|
||||
<ProgressCircle value={upload.progress / Math.max(upload.files.size, 1)} size={'small'} primary />
|
||||
{/if}
|
||||
<span>{(upload.progress / Math.max(upload.files.size, 1)).toFixed(1)}%</span>
|
||||
<span>{Math.ceil(upload.progress / Math.max(upload.files.size, 1))}%</span>
|
||||
</div>
|
||||
|
||||
<style lang="scss">
|
||||
|
@ -118,7 +118,7 @@
|
||||
<Label label={uploader.status.Completed} />
|
||||
{:else}
|
||||
<Label label={uploader.status.Uploading} />
|
||||
<span>file.progress</span>
|
||||
<span>{Math.ceil(file.progress)}%</span>
|
||||
{/if}
|
||||
{/if}
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user