forked from AkkomaGang/akkoma-fe
parent
9056321750
commit
25c205fe4c
1 changed files with 3 additions and 1 deletions
|
@ -644,7 +644,9 @@ const users = {
|
||||||
store.dispatch('listSettingsProfiles')
|
store.dispatch('listSettingsProfiles')
|
||||||
store.dispatch('startFetchingConfig')
|
store.dispatch('startFetchingConfig')
|
||||||
store.dispatch('startFetchingAnnouncements')
|
store.dispatch('startFetchingAnnouncements')
|
||||||
store.dispatch('startFetchingReports')
|
if (user.role === 'admin' || user.role === 'moderator') {
|
||||||
|
store.dispatch('startFetchingReports')
|
||||||
|
}
|
||||||
|
|
||||||
// Fetch our friends
|
// Fetch our friends
|
||||||
store.rootState.api.backendInteractor.fetchFriends({ id: user.id })
|
store.rootState.api.backendInteractor.fetchFriends({ id: user.id })
|
||||||
|
|
Loading…
Reference in a new issue