Load other teams you can join when deleting cache (#5516)
This commit is contained in:
parent
c2852d9581
commit
883399f13d
1 changed files with 2 additions and 0 deletions
|
|
@ -18,6 +18,7 @@ import {resetMomentLocale} from '@i18n';
|
|||
import {setupPermanentSidebar} from '@init/device';
|
||||
import PushNotifications from '@init/push_notifications';
|
||||
import {setAppState, setServerVersion} from '@mm-redux/actions/general';
|
||||
import {getTeams} from '@mm-redux/actions/teams';
|
||||
import {autoUpdateTimezone} from '@mm-redux/actions/timezone';
|
||||
import {close as closeWebSocket} from '@actions/websocket';
|
||||
import {Client4} from '@client/rest';
|
||||
|
|
@ -213,6 +214,7 @@ class GlobalEventHandler {
|
|||
|
||||
await dispatch(loadConfigAndLicense());
|
||||
await dispatch(loadMe(user));
|
||||
dispatch(getTeams());
|
||||
|
||||
const window = Dimensions.get('window');
|
||||
this.onOrientationChange({window});
|
||||
|
|
|
|||
Loading…
Reference in a new issue