fix some missing $config

This commit is contained in:
les
2020-10-07 13:05:19 +02:00
parent 585650b567
commit a5cd388a1e
5 changed files with 11 additions and 13 deletions

View File

@@ -29,7 +29,7 @@ export default {
methods: {
...mapActions(['delEvent']),
async remove (parent = false) {
const ret = await this.$root.$confirm(this.$t('common.confirm'), this.$t(`event.remove_${parent ? 'recurrent_' : ''}confirmation`))
const ret = await this.$root.$confirm(`event.remove_${parent ? 'recurrent_' : ''}confirmation`)
if (!ret) { return }
const id = parent ? this.event.parentId : this.event.id
await this.$axios.delete(`/event/${id}`)