From f22938030dbdcea6fc28c58cb66dd413ed552a5f Mon Sep 17 00:00:00 2001 From: Benedict Aas Date: Mon, 4 Dec 2017 23:11:07 +0000 Subject: [PATCH] minifix: hide drive selector hyphen when no size info (#1900) We hide the separator hyphen between the name and size when there is no size information available, in the drive selector modal. Change-Type: patch Changelog-Entry: Hide the drive-selector separator hyphen when no drive size is available. --- .../drive-selector/templates/drive-selector-modal.tpl.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/gui/components/drive-selector/templates/drive-selector-modal.tpl.html b/lib/gui/components/drive-selector/templates/drive-selector-modal.tpl.html index 7507df61..92695fe2 100644 --- a/lib/gui/components/drive-selector/templates/drive-selector-modal.tpl.html +++ b/lib/gui/components/drive-selector/templates/drive-selector-modal.tpl.html @@ -19,9 +19,9 @@ tabindex="{{ 15 + $index }}" ng-keypress="modal.keyboardToggleDrive(drive, $event)"> -

{{ drive.description }} - +

{{ drive.description }} {{ drive.size | closestUnit }} + ng-show="drive.size"> - {{ drive.size | closestUnit }}

{{ drive.displayName }}