Skip to content

Commit

Permalink
fix: filter admin from agent list
Browse files Browse the repository at this point in the history
  • Loading branch information
shariquerik committed Sep 1, 2023
1 parent bb14cda commit e1d2500
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/pages/Lead.vue
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ const detailSections = computed(() => {
})
const activeAgents = computed(() => {
const nonAgents = ['Administrator', 'Guest']
const nonAgents = ['Administrator', '[email protected]', 'Guest']
return users.data
.filter((user) => !nonAgents.includes(user.name))
.sort((a, b) => a.full_name - b.full_name)
Expand Down

0 comments on commit e1d2500

Please sign in to comment.