From 85cde0ba9c98b8312477120b58ada7ae5d4d2745 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timoth=C3=A9e=20Poussard?= <tpoussard@neogeo.fr>
Date: Tue, 5 Oct 2021 10:53:46 +0200
Subject: [PATCH] change action name

---
 src/views/project/Project_edit.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/views/project/Project_edit.vue b/src/views/project/Project_edit.vue
index 8a398bd1..fe022fc8 100644
--- a/src/views/project/Project_edit.vue
+++ b/src/views/project/Project_edit.vue
@@ -413,7 +413,7 @@ export default {
         moderation: this.form.moderation,
       };
 
-      if (this.action === "create" || this.action === "duplicate") {
+      if (this.action === "create" || this.action === "create_from") {
         this.loading = true;
         await axios
           .post(
-- 
GitLab