UserSearch implement the filter on every user that has not activate his account yet.

This commit is contained in:
ogerly 2021-12-20 10:32:17 +01:00 committed by elweyn
parent 8e974bbc22
commit bc00ddfdc7

View File

@ -26,6 +26,7 @@
<script>
import UserTable from '../components/UserTable.vue'
import { searchUsers } from '../graphql/searchUsers'
import { searchNotActivatedUsers } from '../graphql/searchNotActivatedUsers'
export default {
name: 'UserSearch',
@ -58,7 +59,9 @@ export default {
methods: {
unconfirmedRegisterMails() {
alert('Apollo anfrage, alle Mitglieder, die nicht ihre Register E-Mail bestätigt haben.')
this.searchResult = this.searchResult.filter((result) => {
return !result.emailChecked
})
},
getUsers() {
this.$apollo