diff options
author | bobzel <zzzman@gmail.com> | 2023-03-23 10:06:39 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2023-03-23 10:06:39 -0400 |
commit | d5f60e34e8ac9f99c0b442346db5386068af5de2 (patch) | |
tree | 71b2c1d7438eb78e7196050c1afe433fa9208f10 /src/client/views/nodes/KeyValueBox.tsx | |
parent | f499698f8d8dd10c020f73528918fce41f37b4ff (diff) |
changed showing keyvalue panes to not create a document, but to use the LayoutTemplateString.
Diffstat (limited to 'src/client/views/nodes/KeyValueBox.tsx')
-rw-r--r-- | src/client/views/nodes/KeyValueBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/KeyValueBox.tsx b/src/client/views/nodes/KeyValueBox.tsx index 60417430f..9f9d93a82 100644 --- a/src/client/views/nodes/KeyValueBox.tsx +++ b/src/client/views/nodes/KeyValueBox.tsx @@ -45,7 +45,7 @@ export class KeyValueBox extends React.Component<FieldViewProps> { return NumCast(this.props.Document.schemaSplitPercentage, 50); } get fieldDocToLayout() { - return this.props.fieldKey ? Cast(this.props.Document[this.props.fieldKey], Doc, null) : this.props.Document; + return this.props.fieldKey ? DocCast(this.props.Document[this.props.fieldKey], DocCast(this.props.Document)) : this.props.Document; } @action |