import: fix typo in mountPoint parameter
mountpoint provider supports prefix (except not via UI). It's more natural for the user to enter the actual mountpoint than the filesystem path directly.
This commit is contained in:
@@ -1484,8 +1484,8 @@ angular.module('Application').controller('AppController', ['$scope', '$location'
|
||||
backupConfig.mountOptions = $scope.importBackup.mountOptions;
|
||||
backupConfig.prefix = '';
|
||||
} else if (backupConfig.provider === 'mountpoint') {
|
||||
backupConfig.mountOptions = {};
|
||||
backupConfig.mountPoint = $scope.mountPoint;
|
||||
backupConfig.prefix = '';
|
||||
backupConfig.mountPoint = $scope.importBackup.mountPoint;
|
||||
} else if (backupConfig.provider === 'filesystem') {
|
||||
var parts = remotePath.split('/');
|
||||
remotePath = parts.pop() || parts.pop(); // removes any trailing slash. this is basename()
|
||||
|
||||
Reference in New Issue
Block a user