minor
This commit is contained in:
@@ -147,7 +147,8 @@ const it = {
|
||||
allow_anon_event: 'Si possono inserire eventi anonimi (previa conferma)?',
|
||||
allow_comments: 'Abilita commenti',
|
||||
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: {
|
||||
|
||||
@@ -432,7 +432,6 @@ export default {
|
||||
Message({ type: 'error', showClose: true, message: this.$t('event.image_too_big') })
|
||||
break;
|
||||
default:
|
||||
console.error(e)
|
||||
Message({ type: 'error', showClose: true, message: e })
|
||||
}
|
||||
this.loading = false
|
||||
|
||||
@@ -229,7 +229,6 @@ export default {
|
||||
this.$axios.$put('/user', user)
|
||||
},
|
||||
async toggleAdmin(user) {
|
||||
console.error(this.$auth.user)
|
||||
if (user.id === this.$auth.user.id) return
|
||||
user.is_admin = !user.is_admin
|
||||
try {
|
||||
|
||||
@@ -187,7 +187,6 @@ const eventController = {
|
||||
.month(req.params.month)
|
||||
.startOf('month')
|
||||
.startOf('week')
|
||||
console.error('start ', start)
|
||||
|
||||
let end = moment()
|
||||
.year(req.params.year)
|
||||
|
||||
Reference in New Issue
Block a user