diff options
| author | Maksim Pechnikov <parallel588@gmail.com> | 2020-02-04 10:07:20 +0300 |
|---|---|---|
| committer | Maksim Pechnikov <parallel588@gmail.com> | 2020-02-04 10:07:20 +0300 |
| commit | 64c180c8388afd229ffbcef745b6a81afa0d0056 (patch) | |
| tree | 248b15ca6c9281a49b728ebd8a99dc0a79bc1572 /src/components/staff_panel/staff_panel.js | |
| parent | f892b26d73ea54c4557d8b6829dba850f00986c6 (diff) | |
| parent | e73e235b4df4654abbfd315645ed7ad35e0f326e (diff) | |
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma-fe into develop
Diffstat (limited to 'src/components/staff_panel/staff_panel.js')
| -rw-r--r-- | src/components/staff_panel/staff_panel.js | 3 |
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(_ => _) } } } |
