Files
baserow/web-frontend/modules/core/components/modals/ClearAllNotificationsConfirmModal.vue
T
2024-04-15 11:29:17 +00:00

45 lines
907 B
Vue

<template>
<Modal small>
<h2 class="box__title">
{{ $t('clearAllNotificationsConfirmModal.title') }}
</h2>
<p>
{{ $t('clearAllNotificationsConfirmModal.message') }}
</p>
<div>
<div class="actions">
<ul class="action__links">
<li>
<a
@click.prevent="
$emit('cancel', $event)
hide()
"
>{{ $t('action.cancel') }}</a
>
</li>
</ul>
<Button
type="danger"
@click.prevent="
$emit('confirm', $event)
hide()
"
>
{{ $t('action.delete') }}
</Button>
</div>
</div>
</Modal>
</template>
<script>
import modal from '@baserow/modules/core/mixins/modal'
export default {
name: 'ClearAllNotificationsConfirmModal',
mixins: [modal],
}
</script>