Refresh backup config after config dialog got submitted

This commit is contained in:
Johannes Zellner
2025-02-13 12:49:52 +01:00
parent aafd3c8d35
commit c46c41db5a
2 changed files with 4 additions and 1 deletions
@@ -9,6 +9,8 @@ import BackupsModel from '../models/BackupsModel.js';
import SystemModel from '../models/SystemModel.js';
import { mountlike, s3like } from '../utils.js';
const emit = defineEmits([ 'success' ]);
const backupsModel = BackupsModel.create();
const systemModel = SystemModel.create();
@@ -179,6 +181,7 @@ async function onSubmit() {
return console.error(error);
}
emit('success');
dialog.value.close();
}