aboutsummaryrefslogtreecommitdiff
path: root/src/components/staff_panel/staff_panel.js
diff options
context:
space:
mode:
authorShpuld Shpludson <shp@cock.li>2020-01-15 18:40:45 +0000
committerShpuld Shpludson <shp@cock.li>2020-01-15 18:40:45 +0000
commite3de2964cc5d7b822d3e71f02a7509f97add9ee8 (patch)
treeee539e05a14957a4ccdc24b6f0435c7f5ee9438c /src/components/staff_panel/staff_panel.js
parent7397636914a9d3e7fd30373034c25175273ab808 (diff)
parent54f692622ad4fe6c427ae6d67816be93a7644ac8 (diff)
Merge branch '736' into 'develop'
Fix "Follow button is out of sync in the about page" Closes #736 See merge request pleroma/pleroma-fe!1035
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(_ => _)
}
}
}