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' });
|
||||
|
||||
$scope.blockDevices = result;
|
||||
$scope.volumeAdd.diskPath = $scope.blockDevices[0].path;
|
||||
$scope.volumeAdd.diskPath = $scope.blockDevices[0];
|
||||
|
||||
$('#volumeAddModal').modal('show');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user