mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Merge pull request #1256 from gradido/1231-Event-fuer-Button-alle-unregistrierte-Emails
reverse filter for unregistered emails
This commit is contained in:
commit
6519e3487b
@ -61,7 +61,7 @@ describe('UserSearch', () => {
|
||||
})
|
||||
|
||||
it('filters the users by unconfirmed emails', () => {
|
||||
expect(wrapper.vm.searchResult).toHaveLength(0)
|
||||
expect(wrapper.vm.searchResult).toHaveLength(1)
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
@ -75,7 +75,7 @@ export default {
|
||||
methods: {
|
||||
unconfirmedRegisterMails() {
|
||||
this.searchResult = this.searchResult.filter((user) => {
|
||||
return user.emailChecked
|
||||
return !user.emailChecked
|
||||
})
|
||||
},
|
||||
getUsers() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user