Show size when there is a selected drive

It lets you be sure that the auto-selected drive is the one you intended
to write to.

Fixes: https://github.com/resin-io/etcher/issues/192
This commit is contained in:
Juan Cruz Viotti 2016-03-10 09:04:27 -04:00
parent e1016a0f43
commit 96e9fd23b7

View File

@ -45,7 +45,7 @@
</div> </div>
</div> </div>
<div ng-show="app.selection.hasDrive()" ng-bind="app.selection.getDrive().name" ng-click="app.reselectDrive()"></div> <div ng-show="app.selection.hasDrive()" ng-bind="app.selection.getDrive().name + ' - ' + app.selection.getDrive().size" ng-click="app.reselectDrive()"></div>
</div> </div>
</div> </div>
</div> </div>