Show drive name in drive selector modal (#259)

The `name` property equals the drive letter in Windows, and the mount
point in UNIX based operating systems.

Fixes: https://github.com/resin-io/etcher/issues/258
Signed-off-by: Juan Cruz Viotti <jviottidc@gmail.com>
This commit is contained in:
Juan Cruz Viotti 2016-04-08 09:49:11 -04:00
parent d53bc1ecdf
commit 1bfe88f2f4

View File

@ -9,7 +9,7 @@
ng-click="modal.state.toggleSelectDrive(drive)">
<div>
<h4 class="list-group-item-heading">{{ drive.description }} - {{ drive.size }}</h4>
<p class="list-group-item-text">{{ drive.device }}</p>
<p class="list-group-item-text">{{ drive.name }}</p>
</div>
<span class="tick tick--success" ng-disabled="!modal.state.isSelectedDrive(drive)"></span>
</li>