improve announcement management

This commit is contained in:
les
2021-05-31 00:08:13 +02:00
parent 54c5d2aa41
commit 91311b49ef
8 changed files with 36 additions and 55 deletions

View File

@@ -10,11 +10,6 @@ export default {
props: {
announcement: { type: Object, default: () => ({}) }
},
computed: {
...mapState(['announcements']),
description () {
return this.announcement.announcement.replace(/(<br>)+/g, '<br>')
}
}
computed: mapState(['announcements'])
}
</script>