Fix initial disk selection dropdown

This commit is contained in:
Johannes Zellner
2023-01-26 14:20:11 +01:00
parent 1cb019573b
commit e46b35d0cf

View File

@@ -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');
});