Merge pull request #5905 from Tainan404/v2-fix-intl

Fix intl id being showing.
This commit is contained in:
Maxim Khlobystov 2018-07-24 14:03:13 -04:00 committed by GitHub
commit 89725fa461
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -149,7 +149,7 @@ const BaseContainer = withRouter(withTracker(({ params, router }) => {
const subscriptionsReady = subscriptionsHandlers.every(handler => handler.ready());
return {
approved: Users.findOne({ userId: Auth.userID, approved: true }) || false,
approved: Users.findOne({ userId: Auth.userID, approved: true, guest: true }),
locale,
subscriptionsReady,
annotationsHandler,