From 4c69e3543db124726932e85fcf06fa69fd0a08e5 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sun, 19 Nov 2017 17:12:48 -0800 Subject: [PATCH] Fixes #425 --- app/scenes/CollectionEdit/CollectionEdit.js | 2 +- app/scenes/Document/Document.js | 5 ++--- app/scenes/Document/components/SaveAction/SaveAction.js | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/app/scenes/CollectionEdit/CollectionEdit.js b/app/scenes/CollectionEdit/CollectionEdit.js index 6a7d1c156..b86126912 100644 --- a/app/scenes/CollectionEdit/CollectionEdit.js +++ b/app/scenes/CollectionEdit/CollectionEdit.js @@ -54,7 +54,7 @@ class CollectionEdit extends Component {
- You can edit a collection's name at any time, however doing so might + You can edit a collection’s name at any time, however doing so might confuse your team mates. {isMoving && document && } {titleText && } - {this.isLoading && } + {(this.isLoading || this.isSaving) && } {isFetching && ( diff --git a/app/scenes/Document/components/SaveAction/SaveAction.js b/app/scenes/Document/components/SaveAction/SaveAction.js index 48ec1d00f..27fcefbbc 100644 --- a/app/scenes/Document/components/SaveAction/SaveAction.js +++ b/app/scenes/Document/components/SaveAction/SaveAction.js @@ -3,7 +3,7 @@ import React from 'react'; import styled from 'styled-components'; type Props = { - onClick: Function, + onClick: (redirect: ?boolean) => *, disabled?: boolean, isNew?: boolean, isSaving?: boolean,