mirror of
https://framagit.org/les/gancio.git
synced 2025-01-31 16:42:22 +01:00
minor
This commit is contained in:
parent
e4d43bd7a2
commit
ea9e58be56
1 changed files with 3 additions and 3 deletions
|
@ -10,9 +10,6 @@ import { mapState } from 'vuex'
|
|||
|
||||
export default {
|
||||
name: 'Announcement',
|
||||
data () {
|
||||
return { announcement: { title: '' } }
|
||||
},
|
||||
asyncData ({ $axios, params, error, store }) {
|
||||
try {
|
||||
const id = Number(params.id)
|
||||
|
@ -22,6 +19,9 @@ export default {
|
|||
error({ statusCode: 404, message: 'Announcement not found' })
|
||||
}
|
||||
},
|
||||
data () {
|
||||
return { announcement: { title: '' } }
|
||||
},
|
||||
computed: mapState(['announcements']),
|
||||
methods: {
|
||||
showResource (resource) {
|
||||
|
|
Loading…
Reference in a new issue