Files
baserow/web-frontend/modules/database/components/notifications/WebhookPayloadTooLargeNotification.vue

41 lines
1011 B
Vue

<template>
<nuxt-link
class="notification-panel__notification-link"
:to="route"
@click="markAsReadAndHandleClick"
>
<div class="notification-panel__notification-content-title">
<i18n-t
scope="global"
keypath="webhookPayloadTooLargeNotification.body"
tag="span"
>
<template #name>
<strong>{{ notification.data.webhook_name }}</strong>
</template>
<template #event_id>
<strong>{{ notification.data.event_id }}</strong>
</template>
<template #batch_limit>
<strong>{{ notification.data.batch_limit }}</strong>
</template>
</i18n-t>
</div>
</nuxt-link>
</template>
<script>
import notificationContent from '@baserow/modules/core/mixins/notificationContent'
export default {
name: 'WebhookPayloadTooLargeNotification',
mixins: [notificationContent],
emits: ['close-panel'],
methods: {
handleClick() {
this.$emit('close-panel')
},
},
}
</script>