Merge pull request #1256 from gradido/1231-Event-fuer-Button-alle-unregistrierte-Emails

reverse filter for unregistered emails
This commit is contained in:
Alexander Friedland 2022-01-09 12:04:12 +01:00 committed by GitHub
commit 6519e3487b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,7 @@ describe('UserSearch', () => {
}) })
it('filters the users by unconfirmed emails', () => { it('filters the users by unconfirmed emails', () => {
expect(wrapper.vm.searchResult).toHaveLength(0) expect(wrapper.vm.searchResult).toHaveLength(1)
}) })
}) })

View File

@ -75,7 +75,7 @@ export default {
methods: { methods: {
unconfirmedRegisterMails() { unconfirmedRegisterMails() {
this.searchResult = this.searchResult.filter((user) => { this.searchResult = this.searchResult.filter((user) => {
return user.emailChecked return !user.emailChecked
}) })
}, },
getUsers() { getUsers() {