mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Remove lint problems and adding catch block to createPendingCreations.
This commit is contained in:
parent
c31c8b28f2
commit
75bc2a94c1
@ -244,11 +244,9 @@ export default {
|
||||
}
|
||||
this.$emit('remove-all-bookmark')
|
||||
})
|
||||
// $store - offene Schöpfungen hochzählen
|
||||
// this.$store.commit('openCreationsPlus', i)
|
||||
|
||||
// lösche alle Mitglieder aus der MehrfachSchöpfungsListe nach dem alle Mehrfachschpfungen zum bestätigen gesendet wurden.
|
||||
// this.$emit('remove-all-bookmark')
|
||||
.catch((error) => {
|
||||
this.$toasted.error(error.message)
|
||||
})
|
||||
} else if (this.type === 'singleCreation') {
|
||||
this.submitObj = {
|
||||
email: this.item.email,
|
||||
|
||||
@ -335,7 +335,5 @@ function isCreationValid(creations: number[], amount: number, creationDate: Date
|
||||
async function hasActivatedEmail(email: string): Promise<boolean> {
|
||||
const repository = getCustomRepository(LoginUserRepository)
|
||||
const user = await repository.findByEmail(email)
|
||||
let emailActivate = false
|
||||
if (user) emailActivate = user.emailChecked
|
||||
return user ? user.emailChecked : false
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user