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