From a7df8b9f7623e157d5f5284d551d225230eac6be Mon Sep 17 00:00:00 2001 From: Jori Lallo Date: Sat, 7 Oct 2017 15:54:29 -0700 Subject: [PATCH] Only show recently edited if there's some --- frontend/scenes/Dashboard/Dashboard.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/frontend/scenes/Dashboard/Dashboard.js b/frontend/scenes/Dashboard/Dashboard.js index 787586169..326ba5423 100644 --- a/frontend/scenes/Dashboard/Dashboard.js +++ b/frontend/scenes/Dashboard/Dashboard.js @@ -56,8 +56,13 @@ type Props = { documents={this.props.documents.recentlyViewed} /> } - Recently edited - + {this.props.documents.recentlyEdited.length > 0 && + + Recently edited + + } : }