Merge pull request #539 from outline/tommoor-patch-1
Ensure Document remount on nav
This commit is contained in:
@@ -226,7 +226,7 @@ class DocumentScene extends Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Container column auto>
|
<Container key={this.props.location.pathname} column auto>
|
||||||
{isMoving && document && <DocumentMove document={document} />}
|
{isMoving && document && <DocumentMove document={document} />}
|
||||||
{titleText && <PageTitle title={titleText} />}
|
{titleText && <PageTitle title={titleText} />}
|
||||||
{(this.isLoading || this.isSaving) && <LoadingIndicator />}
|
{(this.isLoading || this.isSaving) && <LoadingIndicator />}
|
||||||
|
|||||||
Reference in New Issue
Block a user