notification import/export (#413)

Co-authored-by: hay-kot <hay-kot@pm.me>
This commit is contained in:
Hayden 2021-05-20 19:16:42 -08:00 committed by GitHub
commit dcd9567059
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 55 additions and 8 deletions

View file

@ -98,6 +98,7 @@ export default {
pages: true,
users: true,
groups: true,
notifications: true,
};
this.availableTemplates = [];
this.selectedTemplates = [];
@ -122,10 +123,13 @@ export default {
themes: this.options.themes,
users: this.options.users,
groups: this.options.groups,
notifications: this.options.notifications,
},
templates: this.selectedTemplates,
};
console.log(data);
if (await api.backups.create(data)) {
this.$emit("created");
}