From 7a5c8ece29d184819e87d6304f82e7e7c8793ed7 Mon Sep 17 00:00:00 2001
From: Santo Cariotti <santo@dcariotti.me>
Date: Mon, 17 Oct 2022 22:59:35 +0200
Subject: Close edit modal on saving

---
 pages/admin/index.vue | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'pages/admin/index.vue')

diff --git a/pages/admin/index.vue b/pages/admin/index.vue
index f3da1ab..b0c480c 100644
--- a/pages/admin/index.vue
+++ b/pages/admin/index.vue
@@ -133,6 +133,8 @@ export default {
             this.$store.dispatch("users/getUsers", this.page).then(() => {
               this.pages = Math.ceil(this.count / 20);
             });
+
+            this.boxEditUser = 0;
           } else {
             this.$toast.error(response.data.error);
           }
-- 
cgit v1.2.3-71-g8e6c

