mirror of
https://github.com/baserow/baserow.git
synced 2026-12-04 00:08:25 +00:00
Update the nuxt3 version. Co-authored-by: Jonathan Adeline <jonathan@baserow.io> Co-authored-by: Bram Wiepjes <bramw@protonmail.com> Co-authored-by: Cezary <cezary@baserow.io> Co-authored-by: Tsering Paljor <tsering@baserow.io> Co-authored-by: Przemyslaw Kukulski <przemyslaw+gh@baserow.io> Co-authored-by: Bram <bram2w@users.noreply.github.com>
53 lines
952 B
Vue
53 lines
952 B
Vue
<template>
|
|
<div class="webhook__list">
|
|
<p v-if="webhooks.length === 0" class="margin-top-2">
|
|
{{ $t('webhookList.noWebhooksMessage') }}
|
|
</p>
|
|
<Webhook
|
|
v-for="webhook in webhooks"
|
|
:key="webhook.id"
|
|
:webhook="webhook"
|
|
:database="database"
|
|
:table="table"
|
|
:fields="fields"
|
|
:views="views"
|
|
@updated="$emit('updated', $event)"
|
|
@deleted="$emit('deleted', $event)"
|
|
/>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import Webhook from './Webhook.vue'
|
|
|
|
export default {
|
|
name: 'WebhookList',
|
|
components: {
|
|
Webhook,
|
|
},
|
|
props: {
|
|
database: {
|
|
type: Object,
|
|
required: true,
|
|
},
|
|
table: {
|
|
type: Object,
|
|
required: true,
|
|
},
|
|
fields: {
|
|
type: Array,
|
|
required: true,
|
|
},
|
|
views: {
|
|
type: Array,
|
|
required: true,
|
|
},
|
|
webhooks: {
|
|
type: Array,
|
|
required: true,
|
|
},
|
|
},
|
|
emits: ['deleted', 'updated'],
|
|
}
|
|
</script>
|