Be explicit what to show as the backup location

This commit is contained in:
Johannes Zellner
2016-09-22 16:14:26 +02:00
parent e3aeb4daf3
commit b863f3f89d

View File

@@ -235,7 +235,8 @@
<span class="text-muted">Location</span>
</div>
<div class="col-xs-6 text-right">
<span>{{ backupConfig.backupFolder || (backupConfig.region + ' ' + backupConfig.bucket + '/' + bucketConfig.prefix) }}</span>
<span ng-show="backupConfig.provider === 'filesystem'">{{ backupConfig.backupFolder }}</span>
<span ng-show="backupConfig.provider === 's3'">{{ backupConfig.region + ' ' + backupConfig.bucket + '/' + bucketConfig.prefix }}</span>
</div>
</div>