37 lines
703 B
Vue
37 lines
703 B
Vue
<template>
|
|
<base-notification
|
|
:can-remove="canRemove"
|
|
:has-icon="true"
|
|
:notification="notification"
|
|
:read-after-click="true"
|
|
@click="action"
|
|
>
|
|
<div slot="content">
|
|
<div class="notification-bold-purple">
|
|
{{ $t('newBaileyUpdate') }}
|
|
</div>
|
|
<div>{{ notification.data.title }}</div>
|
|
</div>
|
|
<div
|
|
slot="icon"
|
|
class="npc_bailey"
|
|
></div>
|
|
</base-notification>
|
|
</template>
|
|
|
|
<script>
|
|
import BaseNotification from './base';
|
|
|
|
export default {
|
|
components: {
|
|
BaseNotification,
|
|
},
|
|
props: ['notification', 'canRemove'],
|
|
methods: {
|
|
action () {
|
|
this.$root.$emit('bv::show::modal', 'new-stuff');
|
|
},
|
|
},
|
|
};
|
|
</script>
|