1
0
Fork 0
mirror of https://gitlab.com/bramw/baserow.git synced 2025-04-05 21:55:24 +00:00
bramw_baserow/web-frontend/modules/database/pages/table/webhooks.vue
2025-02-25 10:52:35 +00:00

37 lines
692 B
Vue

<template>
<div>
<WebhookModal
ref="webhookModal"
:database="database"
:table="table"
:fields="fields"
@hidden="$router.push({ name: 'database-table', params: $route.params })"
/>
</div>
</template>
<script>
import WebhookModal from '@baserow/modules/database/components/webhook/WebhookModal'
export default {
components: { WebhookModal },
props: {
database: {
type: Object,
required: true,
},
table: {
type: Object,
required: true,
},
fields: {
type: Array,
required: true,
},
},
mounted() {
this.$nextTick(() => {
this.$refs.webhookModal.show()
})
},
}
</script>