forked from AkkomaGang/akkoma-fe
Apply suggestion to src/components/staff_panel/staff_panel.js
This commit is contained in:
parent
431b3f527d
commit
7d881d97fe
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ import map from 'lodash/map'
|
||||||
import BasicUserCard from '../basic_user_card/basic_user_card.vue'
|
import BasicUserCard from '../basic_user_card/basic_user_card.vue'
|
||||||
|
|
||||||
const StaffPanel = {
|
const StaffPanel = {
|
||||||
created() {
|
created () {
|
||||||
const nicknames = this.$store.state.instance.staffAccounts
|
const nicknames = this.$store.state.instance.staffAccounts
|
||||||
nicknames.forEach(nickname => this.$store.dispatch('fetchUserIfMissing', nickname))
|
nicknames.forEach(nickname => this.$store.dispatch('fetchUserIfMissing', nickname))
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue