Hide new collection creation link
This commit is contained in:
@@ -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 ? (
|
||||||
|
|||||||
Reference in New Issue
Block a user