This commit is contained in:
Tom Moor committed 2017-11-19 17:12:48 -08:00
1 parent efb10b4e2a
commit 4c69e3543d
3 files changed
+4 -5

No files matched your search

+1 -1
View File
@@ -54,7 +54,7 @@ class CollectionEdit extends Component {
<Flex column>
<form onSubmit={this.handleSubmit}>
<HelpText>
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.
</HelpText>
<Input
+2 -3
View File
@@ -164,10 +164,9 @@ class DocumentScene extends Component {
let document = this.document;
if (!document) return;
this.isLoading = true;
this.isSaving = true;
document = await document.save();
this.isLoading = false;
this.isSaving = false;
if (redirect || this.props.newDocument) {
this.props.history.push(document.url);
@@ -219,7 +218,7 @@ class DocumentScene extends Component {
<Container column auto>
{isMoving && document && <DocumentMove document={document} />}
{titleText && <PageTitle title={titleText} />}
{this.isLoading && <LoadingIndicator />}
{(this.isLoading || this.isSaving) && <LoadingIndicator />}
{isFetching && (
<CenteredContent>
<LoadingState />
@@ -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,