diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2019-03-20 22:09:59 -0400 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2019-03-20 22:09:59 -0400 |
commit | dec841a6b5148835b50e2c7f4b2cd249695812fa (patch) | |
tree | d3e9fa57d99a79de63f5f5a660233979f31e56fa /src/client/views/nodes/DocumentView.tsx | |
parent | d888a56abfee2934e0426258c7b24cfff3ad1a77 (diff) | |
parent | d882d4013dc2df03a55c3f4afc954b7d9a38b4e4 (diff) |
Merge branch 'master' into northstar
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
-rw-r--r-- | src/client/views/nodes/DocumentView.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx index 9e34b2b60..fec451b09 100644 --- a/src/client/views/nodes/DocumentView.tsx +++ b/src/client/views/nodes/DocumentView.tsx @@ -1,7 +1,7 @@ import { action, computed, IReactionDisposer, reaction, runInAction } from "mobx"; import { observer } from "mobx-react"; import { Document } from "../../../fields/Document"; -import { Field, Opt } from "../../../fields/Field"; +import { Field, Opt, FieldWaiting } from "../../../fields/Field"; import { Key } from "../../../fields/Key"; import { KeyStore } from "../../../fields/KeyStore"; import { ListField } from "../../../fields/ListField"; @@ -315,7 +315,7 @@ export class DocumentView extends React.Component<DocumentViewProps> { return (null); } let lkeys = this.props.Document.GetT(KeyStore.LayoutKeys, ListField); - if (!lkeys || lkeys === "<Waiting>") { + if (!lkeys || lkeys === FieldWaiting) { return <p>Error loading layout keys</p>; } var scaling = this.props.ContentScaling(); |