diff --git a/lib/gui/app/pages/main/controllers/main.js b/lib/gui/app/pages/main/controllers/main.js index 8d9c00db..fc8a3792 100644 --- a/lib/gui/app/pages/main/controllers/main.js +++ b/lib/gui/app/pages/main/controllers/main.js @@ -22,6 +22,7 @@ const analytics = require('../../../modules/analytics') const exceptionReporter = require('../../../modules/exception-reporter') const availableDrives = require('../../../../../shared/models/available-drives') const selectionState = require('../../../../../shared/models/selection-state') +const driveConstraints = require('../../../../../shared/drive-constraints') module.exports = function ( TooltipModalService, @@ -33,6 +34,7 @@ module.exports = function ( this.state = flashState this.settings = settings this.external = OSOpenExternalService + this.constraints = driveConstraints /** * @summary Determine if the drive step should be disabled diff --git a/lib/gui/app/pages/main/templates/main.tpl.html b/lib/gui/app/pages/main/templates/main.tpl.html index 91d15cb7..80faff80 100644 --- a/lib/gui/app/pages/main/templates/main.tpl.html +++ b/lib/gui/app/pages/main/templates/main.tpl.html @@ -64,13 +64,16 @@
- + }"> + {{ (main.selection.getDrive().description || "") | middleEllipses:11 }} {{ main.selection.getDrive().size | closestUnit }} +