aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionStackingView.tsx
diff options
context:
space:
mode:
authorSam Wilkins <35748010+samwilkins333@users.noreply.github.com>2019-07-11 18:45:57 -0400
committerGitHub <noreply@github.com>2019-07-11 18:45:57 -0400
commitaa17690d3c484e08b35cc6356c73f00eaa5e0df5 (patch)
tree6039850b3ff1f463d8ac97ab0fe5a71deb2d6e82 /src/client/views/collections/CollectionStackingView.tsx
parentaeb0521e8ad8f1efc8c3a39af9eb5443c5368453 (diff)
parent5eb76c1a2da4e7c8371cb62c39ca84d2f79804d3 (diff)
Merge pull request #198 from browngraphicslab/layout_refactor
Layout refactor
Diffstat (limited to 'src/client/views/collections/CollectionStackingView.tsx')
-rw-r--r--src/client/views/collections/CollectionStackingView.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/collections/CollectionStackingView.tsx b/src/client/views/collections/CollectionStackingView.tsx
index 62968821a..5b4ccf662 100644
--- a/src/client/views/collections/CollectionStackingView.tsx
+++ b/src/client/views/collections/CollectionStackingView.tsx
@@ -12,7 +12,7 @@ import "./CollectionStackingView.scss";
import { CollectionSubView } from "./CollectionSubView";
import { undoBatch } from "../../util/UndoManager";
import { DragManager } from "../../util/DragManager";
-import { DocTypes } from "../../documents/Documents";
+import { DocumentType } from "../../documents/Documents";
import { Transform } from "../../util/Transform";
import { resolve } from "bluebird";
@@ -51,7 +51,7 @@ export class CollectionStackingView extends CollectionSubView(doc => doc) {
}
overlays = (doc: Doc) => {
- return doc.type === DocTypes.IMG ? { title: "title", caption: "caption" } : {};
+ return doc.type === DocumentType.IMG ? { title: "title", caption: "caption" } : {};
}
getDisplayDoc(layoutDoc: Doc, d: Doc, dxf: () => Transform) {