2019-12-15 19:29:45 +00:00
|
|
|
import map from 'lodash/map'
|
2019-11-09 05:21:07 +00:00
|
|
|
import BasicUserCard from '../basic_user_card/basic_user_card.vue'
|
|
|
|
|
|
|
|
const StaffPanel = {
|
|
|
|
components: {
|
|
|
|
BasicUserCard
|
|
|
|
},
|
|
|
|
computed: {
|
2019-11-09 06:23:22 +00:00
|
|
|
staffAccounts () {
|
2019-12-15 19:29:45 +00:00
|
|
|
return map(this.$store.state.instance.staffAccounts, nickname => this.$store.getters.findUser(nickname)).filter(_ => _)
|
2019-11-09 05:21:07 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export default StaffPanel
|