1
0
mirror of https://gitlab.com/bramw/baserow.git synced 2024-11-22 07:42:36 +00:00
bramw_baserow/web-frontend/modules/builder/components/workflowAction/CreateRowWorkflowAction.vue

35 lines
808 B
Vue

<template>
<UpsertRowWorkflowActionForm
:workflow-action="workflowAction"
:default-values="defaultValues.service"
@values-changed="values.service = { ...workflowAction.service, ...$event }"
>
</UpsertRowWorkflowActionForm>
</template>
<script>
import UpsertRowWorkflowActionForm from '@baserow/modules/integrations/localBaserow/components/services/LocalBaserowUpsertRowServiceForm'
import form from '@baserow/modules/core/mixins/form'
export default {
name: 'CreateRowWorkflowAction',
components: { UpsertRowWorkflowActionForm },
mixins: [form],
props: {
workflowAction: {
type: Object,
required: false,
default: null,
},
},
data() {
return {
allowedValues: ['service'],
values: {
service: {},
},
}
},
}
</script>