From 95cdd26c2b9fcbc69c3753fe049957d891cda53d Mon Sep 17 00:00:00 2001 From: Julien Calixte Date: Mon, 29 May 2023 11:04:16 +0200 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20(production=20flow)=20use?= =?UTF-8?q?=20of=20defineModel?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/design-system/form/FormInput.vue | 13 +++---------- src/modules/flow/components/AddStep.vue | 2 +- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/src/components/design-system/form/FormInput.vue b/src/components/design-system/form/FormInput.vue index f597ed0..88029c8 100644 --- a/src/components/design-system/form/FormInput.vue +++ b/src/components/design-system/form/FormInput.vue @@ -2,22 +2,15 @@ defineProps<{ id: string label: string - modelValue: string -}>() -defineEmits<{ - (event: "update:modelValue", value: string): void }>() + +const modelValue = defineModel() diff --git a/src/modules/flow/components/AddStep.vue b/src/modules/flow/components/AddStep.vue index af3c177..bd83c7a 100644 --- a/src/modules/flow/components/AddStep.vue +++ b/src/modules/flow/components/AddStep.vue @@ -8,7 +8,7 @@ const newTeam = ref("") const addTeam = () => { store.addTeam({ - name: "User Acceptance Testing", + name: newTeam.value, outputs: ["Go for live"], prerequisites: ["new app version is step in staging environment"], intention: