Merge branch '884-about-panel-optimizations' into 'develop'
StaffPanel: Move staff loading to panel creation. Closes #884 See merge request pleroma/pleroma-fe!1171
This commit is contained in:
commit
8f87a36a5a
3 changed files with 9 additions and 1 deletions
|
@ -2,6 +2,10 @@ import map from 'lodash/map'
|
|||
import BasicUserCard from '../basic_user_card/basic_user_card.vue'
|
||||
|
||||
const StaffPanel = {
|
||||
created () {
|
||||
const nicknames = this.$store.state.instance.staffAccounts
|
||||
nicknames.forEach(nickname => this.$store.dispatch('fetchUserIfMissing', nickname))
|
||||
},
|
||||
components: {
|
||||
BasicUserCard
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue