mirror of
https://framagit.org/les/gancio.git
synced 2025-01-31 16:42:22 +01:00
15 lines
365 B
Vue
15 lines
365 B
Vue
<template lang="pug">
|
|
nuxt-link(:to='`/announcement/${announcement.id}`')
|
|
v-alert.mb-1(border='left' type='info' color="primary" show-icon) {{announcement.title}}
|
|
|
|
</template>
|
|
<script>
|
|
import { mapState } from 'vuex'
|
|
|
|
export default {
|
|
props: {
|
|
announcement: { type: Object, default: () => ({}) }
|
|
},
|
|
computed: mapState(['announcements'])
|
|
}
|
|
</script>
|