Feedback not in home and email for non auth users

This commit is contained in:
vjrj 2018-02-18 20:21:26 +01:00
parent 458627f520
commit 719ea435d4
5 changed files with 18 additions and 7 deletions

View file

@ -19,6 +19,7 @@ import '/imports/startup/client/ravenLogger';
import '/imports/startup/client/geolocation';
import '/imports/startup/client/piwik-start.js';
import 'simple-line-icons/css/simple-line-icons.css';
import { isHome } from '/imports/ui/components/Utils/location';
import Reconnect from '../../components/Reconnect/Reconnect';
import Navigation from '../../components/Navigation/Navigation';
import Authenticated from '../../components/Authenticated/Authenticated';
@ -139,7 +140,7 @@ const App = props => (
</Switch>
</Grid>
<Footer />
{ props.authenticated && <Feedback /> }
{ !isHome() && <Feedback /> }
<Reconnect />
{props.i18nReady.get() &&
<Blaze template="cookieConsent" />