mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-19 09:16:38 +00:00
Make use of LoggerService in reselection routines
This commit is contained in:
parent
f20fb36328
commit
7d6a43e091
@ -106,7 +106,7 @@ app.controller('AppController', function($q, DriveScannerService, SelectionState
|
|||||||
// "returns" to the first step.
|
// "returns" to the first step.
|
||||||
self.selection.clear();
|
self.selection.clear();
|
||||||
|
|
||||||
console.debug('Reselecting image');
|
LoggerService.debug('Reselecting image');
|
||||||
};
|
};
|
||||||
|
|
||||||
this.reselectDrive = function() {
|
this.reselectDrive = function() {
|
||||||
@ -115,7 +115,7 @@ app.controller('AppController', function($q, DriveScannerService, SelectionState
|
|||||||
}
|
}
|
||||||
|
|
||||||
self.selection.removeDrive();
|
self.selection.removeDrive();
|
||||||
console.debug('Reselecting drive');
|
LoggerService.debug('Reselecting drive');
|
||||||
};
|
};
|
||||||
|
|
||||||
this.burn = function(image, drive) {
|
this.burn = function(image, drive) {
|
||||||
|
@ -105,7 +105,7 @@ app.controller('AppController', function($q, DriveScannerService, SelectionState
|
|||||||
// "returns" to the first step.
|
// "returns" to the first step.
|
||||||
self.selection.clear();
|
self.selection.clear();
|
||||||
|
|
||||||
console.debug('Reselecting image');
|
LoggerService.debug('Reselecting image');
|
||||||
};
|
};
|
||||||
|
|
||||||
this.reselectDrive = function() {
|
this.reselectDrive = function() {
|
||||||
@ -114,7 +114,7 @@ app.controller('AppController', function($q, DriveScannerService, SelectionState
|
|||||||
}
|
}
|
||||||
|
|
||||||
self.selection.removeDrive();
|
self.selection.removeDrive();
|
||||||
console.debug('Reselecting drive');
|
LoggerService.debug('Reselecting drive');
|
||||||
};
|
};
|
||||||
|
|
||||||
this.burn = function(image, drive) {
|
this.burn = function(image, drive) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user