appdata: cannot use cifs or sshfs

Fixes #827
This commit is contained in:
Girish Ramakrishnan
2023-07-11 20:52:46 +05:30
parent 1bf91413c4
commit 0ab72f5900
4 changed files with 8 additions and 2 deletions

View File

@@ -613,7 +613,7 @@ angular.module('Application').controller('AppController', ['$scope', '$location'
];
$scope.volumes.forEach(function (volume) {
$scope.storage.locationOptions.push({ id: volume.id, type: 'volume', value: volume.id, displayName: 'Volume - ' + volume.name });
$scope.storage.locationOptions.push({ id: volume.id, type: 'volume', value: volume.id, displayName: 'Volume - ' + volume.name, mountType: volume.mountType });
});
$scope.storage.location = $scope.storage.locationOptions.find(function (l) { return l.id === (app.storageVolumeId || 'default'); });