remove console statement

This commit is contained in:
ogerly 2022-07-13 11:12:33 +02:00
parent b0df5996e0
commit 802a629d26
2 changed files with 6 additions and 6 deletions

View File

@ -101,12 +101,12 @@ export default {
return false return false
}, },
lastMonthObject() { lastMonthObject() {
// new Date().getMonth === 1 If the current month is January, then one year must be gone back in the previous month // new Date().getMonth === 1 If the current month is January, then one year must be gone back in the previous month
const obj = { const obj = {
month: new Date(this.lastMonth).toLocaleString(this.$i18n.locale, { month: 'long' }), month: new Date(this.lastMonth).toLocaleString(this.$i18n.locale, { month: 'long' }),
year: new Date().getMonth === 1 ? new Date().getFullYear() - 1 : new Date().getFullYear(), year: new Date().getMonth === 1 ? new Date().getFullYear() - 1 : new Date().getFullYear(),
creation: this.$store.state.creation[1], creation: this.$store.state.creation[1],
} }
return this.$t('contribution.formText.lastMonth', obj) return this.$t('contribution.formText.lastMonth', obj)
}, },
thisMonthObject() { thisMonthObject() {

View File

@ -67,7 +67,7 @@ export default {
}, },
}) })
.then((result) => { .then((result) => {
console.log('result', result.data) // console.log('result', result.data)
const { const {
data: { listContributions }, data: { listContributions },
} = result } = result