Hide new collection creation link

This commit is contained in:
Jori Lallo
2016-08-12 15:15:03 +02:00
parent f82a5c41c4
commit f301c305ab

View File

@@ -8,7 +8,7 @@ import Layout from 'components/Layout';
import AtlasPreview from 'components/AtlasPreview'; import AtlasPreview from 'components/AtlasPreview';
import AtlasPreviewLoading from 'components/AtlasPreviewLoading'; import AtlasPreviewLoading from 'components/AtlasPreviewLoading';
import CenteredContent from 'components/CenteredContent'; import CenteredContent from 'components/CenteredContent';
import DropdownMenu, { MenuItem, MoreIcon } from 'components/DropdownMenu'; // import DropdownMenu, { MenuItem, MoreIcon } from 'components/DropdownMenu';
// import styles from './Dashboard.scss'; // import styles from './Dashboard.scss';
@@ -23,21 +23,19 @@ class Dashboard extends React.Component {
} }
render() { render() {
const actions = ( // const actions = (
<Flex> // <Flex>
<DropdownMenu label={ <MoreIcon /> } > // <DropdownMenu label={ <MoreIcon /> } >
<MenuItem onClick={ this.onClickNewAtlas }> // <MenuItem onClick={ this.onClickNewAtlas }>
Add collection // Add collection
</MenuItem> // </MenuItem>
</DropdownMenu> // </DropdownMenu>
</Flex> // </Flex>
); // );
return ( return (
<Flex auto> <Flex auto>
<Layout <Layout>
actions={ actions }
>
<CenteredContent> <CenteredContent>
<Flex column auto> <Flex column auto>
{ store.isFetching ? ( { store.isFetching ? (