-
-
+
+
{{ filterCheckedEmails ? $t('all_emails') : $t('unregistered_emails') }}
+
+
+ {{ filterDeletedUser ? $t('all_emails') : $t('deleted_user') }}
+
@@ -52,6 +56,7 @@ export default {
massCreation: [],
criteria: '',
filterCheckedEmails: false,
+ filterDeletedUser: false,
rows: 0,
currentPage: 1,
perPage: 25,
@@ -63,6 +68,11 @@ export default {
this.filterCheckedEmails = !this.filterCheckedEmails
this.getUsers()
},
+ deletedUserSearch() {
+ this.filterDeletedUser = !this.filterDeletedUser
+ this.getUsers()
+ alert('TODO: deleted user filter in search and check in backend ')
+ },
getUsers() {
this.$apollo
.query({
@@ -72,6 +82,7 @@ export default {
currentPage: this.currentPage,
pageSize: this.perPage,
notActivated: this.filterCheckedEmails,
+ deletedUser: this.filterDeletedUser,
},
})
.then((result) => {
@@ -108,6 +119,7 @@ export default {
{ key: 'confirm_mail', label: this.$t('confirmed') },
{ key: 'has_elopage', label: 'elopage' },
{ key: 'transactions_list', label: this.$t('transaction') },
+ { key: 'enabled', label: this.$t('enabled') },
]
},
},