From 7f8a2b35e2cd0cb3189871e8d1973b0b87abca7b Mon Sep 17 00:00:00 2001 From: hay-kot Date: Tue, 30 Mar 2021 12:04:37 -0800 Subject: [PATCH] await user updates --- frontend/src/components/Admin/ManageUsers/TheUserTable.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/Admin/ManageUsers/TheUserTable.vue b/frontend/src/components/Admin/ManageUsers/TheUserTable.vue index 74a7444f6..99b64ce4a 100644 --- a/frontend/src/components/Admin/ManageUsers/TheUserTable.vue +++ b/frontend/src/components/Admin/ManageUsers/TheUserTable.vue @@ -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();