2020-02-16 21:03:50 +01:00
|
|
|
<template lang="pug">
|
2020-08-16 14:06:21 +02:00
|
|
|
nuxt-link(:to='`/announcement/${announcement.id}`')
|
2020-10-07 10:04:56 +02:00
|
|
|
v-alert.mb-1(border='left' type='info' color="primary" show-icon) {{announcement.title}}
|
2020-02-16 21:03:50 +01:00
|
|
|
|
|
|
|
</template>
|
|
|
|
<script>
|
|
|
|
import { mapState } from 'vuex'
|
|
|
|
|
|
|
|
export default {
|
|
|
|
props: {
|
|
|
|
announcement: { type: Object, default: () => ({}) }
|
|
|
|
},
|
2021-05-31 00:08:13 +02:00
|
|
|
computed: mapState(['announcements'])
|
2020-02-16 21:03:50 +01:00
|
|
|
}
|
|
|
|
</script>
|