import: diskPath not sent when importing from xfs and ext4

This commit is contained in:
Girish Ramakrishnan
2022-10-02 10:09:08 +02:00
parent 68c60bf1b7
commit b2e4dc059e
7 changed files with 41 additions and 18 deletions

View File

@@ -294,6 +294,12 @@
<input type="password" class="form-control" ng-model="importBackup.mountOptions.password" id="configureBackupPassword" name="password" ng-disabled="importBackup.busy" password-reveal>
</div>
<!-- EXT4/XFS -->
<div class="form-group" ng-show="provider === 'ext4' || provider === 'xfs'" ng-class="{ 'has-error': importBackup.error.diskPath }">
<label class="control-label" for="configureBackupDiskPath">{{ 'backups.configureBackupStorage.diskPath' | tr }}</label>
<input type="text" class="form-control" ng-model="importBackup.mountOptions.diskPath" id="configureBackupDiskPath" name="diskPath" ng-disabled="importBackup.busy" placeholder="Directory for backups" ng-required="provider === 'ext4' || provider === 'xfs'">
</div>
<!-- SSHFS -->
<div class="form-group" ng-show="importBackup.provider === 'sshfs'">
<label class="control-label" for="configureBackupPort">{{ 'backups.configureBackupStorage.port' | tr }}</label>