This commit is contained in:
lesion
2019-07-23 14:33:23 +02:00
parent c8f13887a7
commit ed9e630a40
4 changed files with 2 additions and 4 deletions

View File

@@ -147,7 +147,8 @@ const it = {
allow_anon_event: 'Si possono inserire eventi anonimi (previa conferma)?', allow_anon_event: 'Si possono inserire eventi anonimi (previa conferma)?',
allow_comments: 'Abilita commenti', allow_comments: 'Abilita commenti',
allow_recurrent_event: 'Abilita eventi fissi', allow_recurrent_event: 'Abilita eventi fissi',
recurrent_event_visible: 'Appuntamenti fissi visibili di default' recurrent_event_visible: 'Appuntamenti fissi visibili di default',
federation: 'Federazione / ActivityPub'
}, },
auth: { auth: {

View File

@@ -432,7 +432,6 @@ export default {
Message({ type: 'error', showClose: true, message: this.$t('event.image_too_big') }) Message({ type: 'error', showClose: true, message: this.$t('event.image_too_big') })
break; break;
default: default:
console.error(e)
Message({ type: 'error', showClose: true, message: e }) Message({ type: 'error', showClose: true, message: e })
} }
this.loading = false this.loading = false

View File

@@ -229,7 +229,6 @@ export default {
this.$axios.$put('/user', user) this.$axios.$put('/user', user)
}, },
async toggleAdmin(user) { async toggleAdmin(user) {
console.error(this.$auth.user)
if (user.id === this.$auth.user.id) return if (user.id === this.$auth.user.id) return
user.is_admin = !user.is_admin user.is_admin = !user.is_admin
try { try {

View File

@@ -187,7 +187,6 @@ const eventController = {
.month(req.params.month) .month(req.params.month)
.startOf('month') .startOf('month')
.startOf('week') .startOf('week')
console.error('start ', start)
let end = moment() let end = moment()
.year(req.params.year) .year(req.params.year)