From f8accd62ed439ce8089af8e837b499bb77b8e720 Mon Sep 17 00:00:00 2001 From: Benedict Aas Date: Thu, 29 Mar 2018 14:37:01 +0100 Subject: [PATCH] fix(GUI): hide the size label given multiple devices We hide the size label when there are multiple selected devices, as this doesn't make sense because you could only logically show the sum size, which isn't very helpful on its own. Change-Type: patch Changelog-Entry: Hide the size label given multiple devices. --- lib/gui/app/pages/main/templates/main.tpl.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/gui/app/pages/main/templates/main.tpl.html b/lib/gui/app/pages/main/templates/main.tpl.html index 7b08b2e5..654f7363 100644 --- a/lib/gui/app/pages/main/templates/main.tpl.html +++ b/lib/gui/app/pages/main/templates/main.tpl.html @@ -70,7 +70,11 @@ {{ drive.getDrivesTitle() | middleEllipses:20 }} - {{ main.selection.getCurrentDrive().size | closestUnit }} + + {{ main.selection.getCurrentDrive().size | closestUnit }} +