minor
This commit is contained in:
@@ -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: {
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user