mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-21 10:16:32 +00:00
Merge pull request #230 from resin-io/refactor/use-settings-service-in-finish
Use SettingsService in FinishController
This commit is contained in:
commit
91400922cd
@ -16,7 +16,14 @@
|
||||
|
||||
'use strict';
|
||||
|
||||
module.exports = function($state, SelectionStateService, ImageWriterService, AnalyticsService) {
|
||||
module.exports = function($state, SelectionStateService, ImageWriterService, AnalyticsService, SettingsService) {
|
||||
|
||||
/**
|
||||
* @summary Settings data
|
||||
* @type Object
|
||||
* @public
|
||||
*/
|
||||
this.settings = SettingsService.data;
|
||||
|
||||
/**
|
||||
* @summary Restart the burning process
|
||||
|
@ -2,9 +2,7 @@
|
||||
<div class="col-xs">
|
||||
<div class="box text-center">
|
||||
<h3><span class="tick tick--success" class="space-right-tiny"></span> Burn Complete!</h3>
|
||||
<p class="soft"
|
||||
ng-controller="SettingsController as settings"
|
||||
ng-show="settings.storage.unmountOnSuccess">Safely ejected and ready for use</p>
|
||||
<p class="soft" ng-show="finish.settings.unmountOnSuccess">Safely ejected and ready for use</p>
|
||||
|
||||
<div class="row center-xs space-vertical-large">
|
||||
<div class="col-xs-4 space-medium">
|
||||
|
Loading…
x
Reference in New Issue
Block a user