Skip to content

Commit

Permalink
feat: remove zero speed display
Browse files Browse the repository at this point in the history
  • Loading branch information
lightmyfire17 committed Jan 4, 2021
1 parent 3a3c727 commit f161907
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion frontend/src/components/File/FileDown/FileDown.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
<template>
<div class="file-down text_wrap_none">
{{ downloadBandwidth | prettyBytes(0) }}/s
<template v-if="downloadBandwidth > 0">
{{ downloadBandwidth | prettyBytes(0) }}/s
</template>
<template v-else>
-
</template>
</div>
</template>

Expand Down
7 changes: 6 additions & 1 deletion frontend/src/components/File/FileUp/FileUp.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
<template>
<div class="file-up text_wrap_none">
{{ uploadBandwidth | prettyBytes(0) }}/s
<template v-if="uploadBandwidth > 0">
{{ uploadBandwidth | prettyBytes(0) }}/s
</template>
<template v-else>
-
</template>
</div>
</template>

Expand Down

0 comments on commit f161907

Please sign in to comment.