From e46b35d0cfba3f738a3c5e353fef8f8025a5e24e Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Thu, 26 Jan 2023 14:20:11 +0100 Subject: [PATCH] Fix initial disk selection dropdown --- src/views/volumes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/volumes.js b/src/views/volumes.js index dba1e90df..5738dda07 100644 --- a/src/views/volumes.js +++ b/src/views/volumes.js @@ -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'); });