aboutsummaryrefslogtreecommitdiff
path: root/src/components/staff_panel
diff options
context:
space:
mode:
authorHJ <30-hj@users.noreply.git.pleroma.social>2022-11-21 19:35:49 +0000
committerHJ <30-hj@users.noreply.git.pleroma.social>2022-11-21 19:35:49 +0000
commit896cbf89f6431c0198eb2fb50fc7cef9cce05b3c (patch)
treef3e43f0a574f8b14f27c50950ee1d1ff841c78df /src/components/staff_panel
parent513b81a23bd3d6aa308f538a2705d690fe90dc40 (diff)
parentb28cdf2cbde0b9c08bf05559e89fae31d5fabafc (diff)
Merge branch 'minor-fixes-batch' into 'develop'
Minor fixes batch Closes #1192, #1193, and #1196 See merge request pleroma/pleroma-fe!1651
Diffstat (limited to 'src/components/staff_panel')
-rw-r--r--src/components/staff_panel/staff_panel.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/staff_panel/staff_panel.js b/src/components/staff_panel/staff_panel.js
index a7fbc718..46a92ac7 100644
--- a/src/components/staff_panel/staff_panel.js
+++ b/src/components/staff_panel/staff_panel.js
@@ -13,7 +13,7 @@ const StaffPanel = {
},
computed: {
groupedStaffAccounts () {
- const staffAccounts = map(this.staffAccounts, this.findUser).filter(_ => _)
+ const staffAccounts = map(this.staffAccounts, this.findUserByName).filter(_ => _)
const groupedStaffAccounts = groupBy(staffAccounts, 'role')
return [
@@ -22,7 +22,7 @@ const StaffPanel = {
].filter(group => group.users)
},
...mapGetters([
- 'findUser'
+ 'findUserByName'
]),
...mapState({
staffAccounts: state => state.instance.staffAccounts