diff --git a/client/src/components/FlowCard.vue b/client/src/components/FlowCard.vue index df3683b..4613aab 100644 --- a/client/src/components/FlowCard.vue +++ b/client/src/components/FlowCard.vue @@ -2,16 +2,20 @@ import BaseButton from '@/components/common/BaseButton.vue' import BaseInputField from './common/BaseInputField.vue' import BaseModal from './common/BaseModal.vue' -import type { Flow } from '@/types/FlowType' -import EditPen from '@/icons/EditPen.vue' -import { router } from '@/router' + import PlayIcon from '@/icons/RightArrow.vue' +import EditPen from '@/icons/EditPen.vue' + +import type { Flow } from '@/types/FlowType' import { inject, ref, type Ref } from 'vue' +import { router } from '@/router' const props = defineProps<{ flow: Flow }>() +const showEditFlowForm = ref(false) +const editFlowType = ref(null) const flows = inject>('flows', ref([])) const navigateToFlow = (id: string) => { @@ -19,11 +23,6 @@ const navigateToFlow = (id: string) => { router.push(`${currentPath}/${id}`) } -// Flow editor -const showEditFlowForm = ref(false) - -const editFlowType = ref(null) - const editFlow = (flow: Flow) => { editFlowType.value = { ...flow } ;(document.getElementById(`editFlowForm${flow.id}`) as HTMLDialogElement).showModal() diff --git a/client/src/components/PageNavigation.vue b/client/src/components/PageNavigation.vue index 82c5635..832d165 100644 --- a/client/src/components/PageNavigation.vue +++ b/client/src/components/PageNavigation.vue @@ -1,5 +1,5 @@ + - - diff --git a/client/src/components/common/BaseButton.vue b/client/src/components/common/BaseButton.vue index a2684ba..2a70233 100644 --- a/client/src/components/common/BaseButton.vue +++ b/client/src/components/common/BaseButton.vue @@ -1,20 +1,3 @@ - - - + diff --git a/client/src/components/common/BaseInputField.vue b/client/src/components/common/BaseInputField.vue index 8727da9..0882b2f 100644 --- a/client/src/components/common/BaseInputField.vue +++ b/client/src/components/common/BaseInputField.vue @@ -1,24 +1,3 @@ - - - + diff --git a/client/src/components/common/BaseModal.vue b/client/src/components/common/BaseModal.vue index 7401e1d..b359e94 100644 --- a/client/src/components/common/BaseModal.vue +++ b/client/src/components/common/BaseModal.vue @@ -1,3 +1,23 @@ + + - -