feat: user profile page - save info + change pwd

This commit is contained in:
NGPixel authored and Nicolas Giard committed 2020-04-05 23:49:26 -04:00
1 parent c7f3c9d908
commit 1e4d513252
19 files changed
+473 -113

No files matched your search

+6 -2
View File
@@ -355,8 +355,12 @@ export default {
},
async saveAndClose() {
try {
await this.save({ rethrow: true })
await this.exit()
if (this.$store.get('editor/mode') === 'create') {
await this.save()
} else {
await this.save({ rethrow: true })
await this.exit()
}
} catch (err) {
// Error is already handled
}