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/UpdateRowWorkflowAction.vue

36 lines
830 B
Vue

<template>
<UpsertRowWorkflowActionForm
enable-row-id
: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.vue'
import form from '@baserow/modules/core/mixins/form'
export default {
name: 'UpdateRowWorkflowAction',
components: { UpsertRowWorkflowActionForm },
mixins: [form],
props: {
workflowAction: {
type: Object,
required: false,
default: null,
},
},
data() {
return {
allowedValues: ['service'],
values: {
service: {},
},
}
},
}
</script>