diff --git a/src/lang/en.js b/src/lang/en.js
index a6a26f27..7bc59811 100644
--- a/src/lang/en.js
+++ b/src/lang/en.js
@@ -345,13 +345,17 @@ export default {
usersFilter: {
inputPlaceholder: 'Select filter',
byAccountType: 'By account type',
+ byActorType: 'By actor type',
local: 'Local',
external: 'External',
byStatus: 'By status',
active: 'Active',
pending: 'Pending Approval',
deactivated: 'Deactivated',
- unconfirmed: 'Unconfirmed'
+ unconfirmed: 'Unconfirmed',
+ person: 'Person',
+ bot: 'Bot',
+ application: 'Application'
},
reports: {
reports: 'Reports',
diff --git a/src/views/users/components/UsersFilter.vue b/src/views/users/components/UsersFilter.vue
index a04cf971..b952f07c 100644
--- a/src/views/users/components/UsersFilter.vue
+++ b/src/views/users/components/UsersFilter.vue
@@ -16,6 +16,11 @@
{{ $t('usersFilter.pending') }}
{{ $t('usersFilter.unconfirmed') }}
+
+ {{ $t('usersFilter.person') }}
+ {{ $t('usersFilter.bot') }}
+ {{ $t('usersFilter.application') }}
+
@@ -45,6 +50,9 @@ export default {
const indexOfDeactivated = this.$data.value.indexOf('deactivated')
const indexOfPending = this.$data.value.indexOf('need_approval')
const indexOfUnconfirmed = this.$data.value.indexOf('unconfirmed')
+ const indexOfPerson = this.$data.value.indexOf('Person')
+ const indexOfService = this.$data.value.indexOf('Service')
+ const indexOfApplication = this.$data.value.indexOf('Application')
if (this.$data.value.length === filtersQuantity) {
return []
@@ -58,6 +66,10 @@ export default {
? currentFilters.push(this.$data.value[Math.max(indexOfActive, indexOfDeactivated, indexOfPending, indexOfUnconfirmed)])
: currentFilters
+ Math.max(indexOfPerson, indexOfService, indexOfApplication) > -1
+ ? currentFilters.push(this.$data.value[Math.max(indexOfPerson, indexOfService, indexOfApplication)])
+ : currentFilters
+
return currentFilters
},
toggleFilters() {