wire up staff accounts with correct store data
This commit is contained in:
parent
b739edb509
commit
54f692622a
2 changed files with 6 additions and 8 deletions
|
@ -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(_ => _)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue