summaryrefslogtreecommitdiff
path: root/pages/admin/models.vue
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2022-10-17 22:59:35 +0200
committerSanto Cariotti <santo@dcariotti.me>2022-10-17 22:59:35 +0200
commit7a5c8ece29d184819e87d6304f82e7e7c8793ed7 (patch)
tree4a80d09733f888959e835593fd67de739d638ac1 /pages/admin/models.vue
parent1654dd1116d6341923510e02abedf3dd8a687679 (diff)
Close edit modal on saving
Diffstat (limited to 'pages/admin/models.vue')
-rw-r--r--pages/admin/models.vue2
1 files changed, 2 insertions, 0 deletions
diff --git a/pages/admin/models.vue b/pages/admin/models.vue
index 0804d74..bf00cc8 100644
--- a/pages/admin/models.vue
+++ b/pages/admin/models.vue
@@ -218,6 +218,8 @@ export default {
this.$store.dispatch("models/getModels", this.page).then(() => {
this.pages = Math.ceil(this.count / 20);
});
+
+ this.boxEditModel = 0;
} else {
this.$toast.error(response.data.error);
}