aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/DocumentView.tsx
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2019-02-11 21:28:09 -0500
committerBob Zeleznik <zzzman@gmail.com>2019-02-11 21:28:09 -0500
commitf3359bd32f8c4ecb612d3c95f198d5e248ab6450 (patch)
treea2cc7a7e83bf87bdc173002d26af591381842091 /src/client/views/nodes/DocumentView.tsx
parent793cc99ab134bc5aa4667c95def851ce08d35146 (diff)
renamed AnnotatedLaout to BackgroundLayout
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
-rw-r--r--src/client/views/nodes/DocumentView.tsx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx
index bba5becc3..a2f8ceebe 100644
--- a/src/client/views/nodes/DocumentView.tsx
+++ b/src/client/views/nodes/DocumentView.tsx
@@ -36,8 +36,8 @@ export class DocumentView extends React.Component<DocumentViewProps> {
}
@computed
- get annotatedlayout(): string {
- return this.props.Document.GetData(KeyStore.AnnotatedLayout, TextField, String("<p>Error loading layout data</p>"));
+ get backgroundLayout(): string {
+ return this.props.Document.GetData(KeyStore.BackgroundLayout, TextField, String("<p>Error loading layout data</p>"));
}
@computed
@@ -147,11 +147,11 @@ export class DocumentView extends React.Component<DocumentViewProps> {
var annotated = <JsxParser
components={{ FormattedTextBox: FormattedTextBox, ImageBox, CollectionFreeFormView, CollectionDockingView, CollectionSchemaView }}
bindings={bindings}
- jsx={this.annotatedlayout}
+ jsx={this.backgroundLayout}
showWarnings={true}
onError={(test: any) => { console.log(test) }}
/>;
- bindings["BackgroundView"] = this.annotatedlayout ? annotated : null;
+ bindings["BackgroundView"] = this.backgroundLayout ? annotated : null;
return (
<div className="node" ref={this._mainCont} style={{ width: "100%", height: "100%", }}>
<JsxParser