diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2019-05-15 22:02:39 -0400 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2019-05-15 22:02:39 -0400 |
commit | 53351f6c5b448b93f2865eb38868bddb95ec4c1d (patch) | |
tree | 07dcbdc0ad7d70549ccc5f3992fc56a9f083316c /src/client/views/nodes/DocumentContentsView.tsx | |
parent | 09afa3cc843a69eca59b63018e6f50f8e2bee089 (diff) |
fixed templates on images.
Diffstat (limited to 'src/client/views/nodes/DocumentContentsView.tsx')
-rw-r--r-- | src/client/views/nodes/DocumentContentsView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/DocumentContentsView.tsx b/src/client/views/nodes/DocumentContentsView.tsx index 3ddf8eb00..f3d76c49b 100644 --- a/src/client/views/nodes/DocumentContentsView.tsx +++ b/src/client/views/nodes/DocumentContentsView.tsx @@ -64,7 +64,7 @@ export class DocumentContentsView extends React.Component<DocumentViewProps & { return new List<string>(); } @computed get finalLayout() { - const baseLayout = this.layout; + const baseLayout = this.props.layoutKey === "overlayLayout" ? "<div/>" : this.layout; let base = baseLayout; let layout = baseLayout; |