Apply suggestion to src/components/staff_panel/staff_panel.js

This commit is contained in:
Shpuld Shpludson 2020-07-07 12:44:29 +00:00
parent 431b3f527d
commit 7d881d97fe

View file

@ -2,7 +2,7 @@ import map from 'lodash/map'
import BasicUserCard from '../basic_user_card/basic_user_card.vue'
const StaffPanel = {
created() {
created () {
const nicknames = this.$store.state.instance.staffAccounts
nicknames.forEach(nickname => this.$store.dispatch('fetchUserIfMissing', nickname))
},