await user updates

This commit is contained in:
hay-kot 2021-03-30 12:04:37 -08:00
commit 7f8a2b35e2

View file

@ -264,10 +264,10 @@ export default {
async save() {
if (this.editedIndex > -1) {
api.users.update(this.editedItem);
await api.users.update(this.editedItem);
this.close();
} else if (this.$refs.newUser.validate()) {
api.users.create(this.editedItem);
await api.users.create(this.editedItem);
this.close();
}
await this.initialize();