Correct bugs
This commit is contained in:
parent
2856a776db
commit
21ed091ba6
3 changed files with 12 additions and 8 deletions
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* @param {$scope} $scope The $scope service from angular
|
||||
*/
|
||||
mainApp.controller('machineDetailsCtrl', ['$scope', 'Compute', '$rootScope', '$timeout', 'Identity', function ($scope, Compute, $rootScope, $timeout, Identity)
|
||||
mainApp.controller('machineDetailsCtrl', ['$scope', 'Compute', '$rootScope', '$timeout', 'Identity', 'Image', function ($scope, Compute, $rootScope, $timeout, Identity, Image)
|
||||
{
|
||||
|
||||
|
||||
|
@ -16,6 +16,9 @@ mainApp.controller('machineDetailsCtrl', ['$scope', 'Compute', '$rootScope', '$t
|
|||
$scope.machine = machine;
|
||||
// console.log(machine.flavor)
|
||||
$scope.axioms = axioms;
|
||||
Image.getImages(function(response){
|
||||
$scope.images = Image.getData().images;
|
||||
});
|
||||
$('#machineDetailsModal').modal({backdrop: false, keyboard: true});
|
||||
});
|
||||
// Try to stop or start a machine
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue