From d72695144a4753b6225eb645e3b467bb08060976 Mon Sep 17 00:00:00 2001 From: Jori Lallo Date: Sun, 26 Jun 2016 22:55:57 -0700 Subject: [PATCH] hmms --- src/components/DocumentList/DocumentList.js | 2 +- src/scenes/Dashboard/Dashboard.js | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/components/DocumentList/DocumentList.js b/src/components/DocumentList/DocumentList.js index 61ebc0692..2c9e83fe3 100644 --- a/src/components/DocumentList/DocumentList.js +++ b/src/components/DocumentList/DocumentList.js @@ -13,7 +13,7 @@ class DocumentList extends React.Component { render() { return (
- { this.props.documents.map((document) => { + { this.props.documents && this.props.documents.map((document) => { return (
diff --git a/src/scenes/Dashboard/Dashboard.js b/src/scenes/Dashboard/Dashboard.js index 20cf3e8e4..e8d801019 100644 --- a/src/scenes/Dashboard/Dashboard.js +++ b/src/scenes/Dashboard/Dashboard.js @@ -56,7 +56,11 @@ class Dashboard extends React.Component { > - + { store.isFetching ? ( + + ) : store.atlases && store.atlases.map((atlas) => { + return (); + }) }