diff --git a/src/components/flow/ProductionFlow.vue b/src/components/flow/ProductionFlow.vue
index e99e0dc..d286bc8 100644
--- a/src/components/flow/ProductionFlow.vue
+++ b/src/components/flow/ProductionFlow.vue
@@ -11,6 +11,7 @@ const store = useProductionFlow()
-
{{ team.name }}
+
{{ team.intention }}
diff --git a/src/modules/flow/components/AddStep.vue b/src/modules/flow/components/AddStep.vue
index bd83c7a..2316ca8 100644
--- a/src/modules/flow/components/AddStep.vue
+++ b/src/modules/flow/components/AddStep.vue
@@ -4,24 +4,45 @@ import { useProductionFlow } from "@/modules/flow/store/useProductionFlow.store"
import { ref } from "vue"
const store = useProductionFlow()
+
const newTeam = ref("")
+const prerequisites = ref("")
+const output = ref("")
+const intention = ref("")
+const responsible = ref("")
+
+const clearTeam = () => {
+ newTeam.value = ""
+ prerequisites.value = ""
+ output.value = ""
+ intention.value = ""
+ responsible.value = ""
+}
const addTeam = () => {
store.addTeam({
name: newTeam.value,
- outputs: ["Go for live"],
- prerequisites: ["new app version is step in staging environment"],
- intention:
- "Test the app as a whole to validate that the User Experience has no bug",
- responsible: "Product Owner",
+ outputs: [output.value],
+ prerequisites: [prerequisites.value],
+ intention: intention.value,
+ responsible: responsible.value,
})
+ clearTeam()
}
-