Only show document placeholder if content hasn't been loaded

This commit is contained in:
Jori Lallo
2016-08-14 11:21:35 +02:00
parent 792def3249
commit 94c5f105dd

View File

@@ -122,7 +122,7 @@ class DocumentEdit extends Component {
let title = (
<Title
truncate={ 60 }
placeholder={ "Untitle document" }
placeholder={ !this.store.isFetching && 'Untitled document' }
>
{ this.store.title }
</Title>