From 5dbb0a742712c9abdd3debf32016b8db4081a978 Mon Sep 17 00:00:00 2001 From: saidaipparla Date: Fri, 28 Oct 2016 10:54:07 +0200 Subject: [PATCH] fix --- web/client/components/maps/MapGrid.jsx | 2 +- web/client/localConfig.json | 2 +- web/client/plugins/CreateNewMap.jsx | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/web/client/components/maps/MapGrid.jsx b/web/client/components/maps/MapGrid.jsx index e18e4a2037..6f091e8b32 100644 --- a/web/client/components/maps/MapGrid.jsx +++ b/web/client/components/maps/MapGrid.jsx @@ -90,7 +90,7 @@ var MapGrid = React.createClass({ renderMetadataModal() { if (this.props.metadataModal) { let MetadataModal = this.props.metadataModal; - return ( {}, colProps: { xs: 12, @@ -51,6 +51,6 @@ const CreateNewMap = React.createClass({ module.exports = { CreateNewMapPlugin: connect((state) => ({ mapType: (state.maps && state.maps.mapType) || (state.home && state.home.mapType), - isLoggedIn: state && state.security && state.security.user + isLoggedIn: state && state.security && state.security.user && state.security.user.enabled }))(CreateNewMap) };