Skip to content
Snippets Groups Projects
Commit e7d9e9e1 authored by Tainan Felipe's avatar Tainan Felipe
Browse files

Fix 'subscriptions are ready' being shown everytime

parent c6458850
No related branches found
No related tags found
No related merge requests found
......@@ -57,9 +57,14 @@ class Base extends Component {
meetingExist,
animations,
meteorIsConnected,
subscriptionsReady,
} = this.props;
const { loading, meetingExisted } = this.state;
if (!prevProps.subscriptionsReady && subscriptionsReady) {
logger.info({ logCode: 'startup_client_subscriptions_ready' }, 'Subscriptions are ready');
}
if (!prevProps.meetingExist && meetingExist) {
Session.set('isMeetingEnded', false);
}
......@@ -127,11 +132,6 @@ class Base extends Component {
return (<LoadingScreen>{loading}</LoadingScreen>);
}
// this.props.annotationsHandler.stop();
if (subscriptionsReady) {
logger.info({ logCode: 'startup_client_subscriptions_ready' }, 'Subscriptions are ready');
}
return (<AppContainer {...this.props} baseControls={stateControls} />);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment