Fixed dashboard issues
This commit is contained in:
@ -19,7 +19,7 @@ class AtlasPreview extends React.Component {
|
||||
|
||||
return (
|
||||
<div className={ styles.container }>
|
||||
<h2><Link to={ `/atlas/${data.id}` } className={ styles.atlasLink }>{ data.name }</Link></h2>
|
||||
<h2><Link to={ `/collections/${data.id}` } className={ styles.atlasLink }>{ data.name }</Link></h2>
|
||||
{ data.recentDocuments.length > 0 ?
|
||||
data.recentDocuments.map(document => {
|
||||
return (
|
||||
|
@ -50,7 +50,7 @@ class Dashboard extends React.Component {
|
||||
actions={ actions }
|
||||
>
|
||||
<CenteredContent>
|
||||
<Flex direction="column" flex>
|
||||
<Flex column auto>
|
||||
{ store.isFetching ? (
|
||||
<AtlasPreviewLoading />
|
||||
) : store.collections && store.collections.map((collection) => {
|
||||
|
Reference in New Issue
Block a user