aboutsummaryrefslogtreecommitdiff
path: root/src/components/staff_panel/staff_panel.js
diff options
context:
space:
mode:
authorShpuld Shpuldson <shpuld@shpposter.club>2020-01-26 15:59:59 +0200
committerShpuld Shpuldson <shpuld@shpposter.club>2020-01-26 15:59:59 +0200
commitc4beac5f894642e64f2818e43697b472b7a70847 (patch)
treeb5e64b7f4f19b8b15549b0b29e876e8eea724c16 /src/components/staff_panel/staff_panel.js
parent7cfe1b05e8d16fcbb6eab3b42f19e464d57ea35b (diff)
parentb0b0fc403a57dca6837bc99a87c66609156af2b9 (diff)
Merge branch 'develop' into feat/emoji-reactions
Diffstat (limited to 'src/components/staff_panel/staff_panel.js')
-rw-r--r--src/components/staff_panel/staff_panel.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/staff_panel/staff_panel.js b/src/components/staff_panel/staff_panel.js
index 93e950ad..4f98fff6 100644
--- a/src/components/staff_panel/staff_panel.js
+++ b/src/components/staff_panel/staff_panel.js
@@ -1,3 +1,4 @@
+import map from 'lodash/map'
import BasicUserCard from '../basic_user_card/basic_user_card.vue'
const StaffPanel = {
@@ -6,7 +7,7 @@ const StaffPanel = {
},
computed: {
staffAccounts () {
- return this.$store.state.instance.staffAccounts
+ return map(this.$store.state.instance.staffAccounts, nickname => this.$store.getters.findUser(nickname)).filter(_ => _)
}
}
}