From 892d0b5e8a1a5df22444626a83bfd3e712fe10dd Mon Sep 17 00:00:00 2001 From: Alfred Nutile Date: Thu, 13 Jun 2024 12:28:25 -0400 Subject: [PATCH] fix the ui edit --- resources/js/Pages/StyleGuide/Partials/Persona.vue | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/resources/js/Pages/StyleGuide/Partials/Persona.vue b/resources/js/Pages/StyleGuide/Partials/Persona.vue index 2965f854..2648265a 100644 --- a/resources/js/Pages/StyleGuide/Partials/Persona.vue +++ b/resources/js/Pages/StyleGuide/Partials/Persona.vue @@ -24,6 +24,9 @@ const showAddForm = () => { show_add_form.value = !show_add_form.value; } const showEditForm = (styleItem) => { + console.log('showEditForm', styleItem); + show_edit_form.value = false; + persona.value = {}; persona.value = styleItem; show_edit_form.value = true; } @@ -69,7 +72,7 @@ const addStyle = () => {