Refresh backup config after config dialog got submitted
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user