Also show the manual backup cleanup info if storage format changes

This commit is contained in:
Johannes Zellner
2025-05-05 17:55:21 +02:00
parent cbdea7965d
commit 6df195aa94
2 changed files with 3 additions and 2 deletions
@@ -277,7 +277,6 @@ onMounted(async () => {
<FormGroup v-if="provider !== 'noop'">
<label for="formatInput">{{ $t('backups.configureBackupStorage.format') }} <sup><a href="https://docs.cloudron.io/backups/#backup-formats" class="help" target="_blank"><i class="fa fa-question-circle"></i></a></sup></label>
<SingleSelect id="formatInput" v-model="providerConfig.format" :options="BACKUP_FORMATS" option-label="name" option-key="value" required />
<!-- TODO old config format not known <div class="warning-label" v-show="format !== config.format">{{ $t('backups.configureBackupStorage.formatChangeNote') }}</div> -->
<div class="warning-label" v-show="providerConfig.format === 'rsync' && (s3like(provider) || provider === 'gcs')">{{ $t('backups.configureBackupStorage.s3LikeNote') }} <sup><a href="https://docs.cloudron.io/backups/#amazon-s3" class="help" target="_blank"><i class="fa fa-question-circle"></i></a></sup></div>
</FormGroup>