restore: display error on top

This commit is contained in:
Girish Ramakrishnan
2025-10-07 20:44:05 +02:00
parent 4a462597fd
commit 1b91ae1ab3
2 changed files with 5 additions and 1 deletions
+3
View File
@@ -344,6 +344,9 @@ onMounted(async () => {
<fieldset :disabled="busy">
<input type="submit" style="display: none;"/>
<!-- when provisioning=true BackupProviderForm won't display the error since we want to show the error above remotePath -->
<div class="error-label" v-show="formError.generic">{{ formError.generic }}</div>
<!-- remotePath contains the prefix as well -->
<FormGroup>
<label for="inputRemotePath">{{ $t('app.importBackupDialog.remotePath') }} <sup><a href="https://docs.cloudron.io/backups/#import-app-backup" class="help" target="_blank"><i class="fa fa-question-circle"></i></a></sup></label>