From 5aab049a43f0a92b7c80d0dd51419ac2f27c81fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20GRANDIN?= Date: Sat, 23 Apr 2022 14:05:57 +0200 Subject: [PATCH] :rotating_light: Fix b =>strong as recommendedn by sonarcloud --- src/components/Widgets/SynologyDownload.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/Widgets/SynologyDownload.vue b/src/components/Widgets/SynologyDownload.vue index 15c2af3b..aa82089e 100644 --- a/src/components/Widgets/SynologyDownload.vue +++ b/src/components/Widgets/SynologyDownload.vue @@ -11,10 +11,12 @@ size: 100 - task.Progress, color: '#6092d1' }, ]" />

- {{ $t('widgets.synology-download.downloaded') }}: {{ task.Downloaded | formatSize }} + {{ $t('widgets.synology-download.downloaded') }}: + {{ task.Downloaded | formatSize }} / {{ task.TotalSize | formatSize }} ({{ task.Progress }}%) ({{ task.DownSpeed | formatSize }}/s)
- {{ $t('widgets.synology-download.uploaded') }}: {{ task.Uploaded | formatSize }} + {{ $t('widgets.synology-download.uploaded') }}: + {{ task.Uploaded | formatSize }} ({{ task.UpSpeed | formatSize }}/s) (ratio : {{ Math.floor( task.Uploaded / task.Downloaded * 100 ) / 100 }})