yandere_fe/src/components/staff_panel/staff_panel.js

16 lines
359 B
JavaScript
Raw Normal View History

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 () {
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