From c0d89be51649860711237fd14a66d802953127ab Mon Sep 17 00:00:00 2001 From: Jori Lallo Date: Sun, 25 Jun 2017 15:43:29 -0700 Subject: [PATCH] Fixed content while loading --- frontend/scenes/Document/Document.js | 43 ++++++++++++++++------------ 1 file changed, 24 insertions(+), 19 deletions(-) diff --git a/frontend/scenes/Document/Document.js b/frontend/scenes/Document/Document.js index 7fe54e9a3..22111f0e1 100644 --- a/frontend/scenes/Document/Document.js +++ b/frontend/scenes/Document/Document.js @@ -130,25 +130,30 @@ type Props = { {titleText && } - {this.store.isFetching && - - - } - {this.store.document && - - - } + {this.store.isFetching + ? + + + : this.store.document && + + {!isEditing && + } + + } {this.store.document &&