Fix initial disk selection dropdown
This commit is contained in:
@@ -133,7 +133,7 @@ angular.module('Application').controller('VolumesController', ['$scope', '$locat
|
|||||||
result.push({ path: 'custom', label: 'Custom' });
|
result.push({ path: 'custom', label: 'Custom' });
|
||||||
|
|
||||||
$scope.blockDevices = result;
|
$scope.blockDevices = result;
|
||||||
$scope.volumeAdd.diskPath = $scope.blockDevices[0].path;
|
$scope.volumeAdd.diskPath = $scope.blockDevices[0];
|
||||||
|
|
||||||
$('#volumeAddModal').modal('show');
|
$('#volumeAddModal').modal('show');
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user