aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents/Documents.ts
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-10-10 16:42:12 -0400
committerbob <bcz@cs.brown.edu>2019-10-10 16:42:12 -0400
commit21aab2fbf28e9cf6d08366b57d368d120d6813bb (patch)
tree1eeda85f15283787b5b982975c2c5fed9692fd3e /src/client/documents/Documents.ts
parent77d66d159d75442ff5635c4bf4843b6155883cc2 (diff)
got rid of all CollectionView wrappers around XxxBox's added DocAnnotatableComponent
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r--src/client/documents/Documents.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts
index 22aa74634..0114f82d8 100644
--- a/src/client/documents/Documents.ts
+++ b/src/client/documents/Documents.ts
@@ -120,11 +120,11 @@ export namespace Docs {
options: { height: 300, backgroundColor: "black" }
}],
[DocumentType.IMG, {
- layout: { view: ImageBox, collectionView: [CollectionView, data, anno] as CollectionViewType },
+ layout: { view: ImageBox, ext: anno },
options: {}
}],
[DocumentType.WEB, {
- layout: { view: WebBox, collectionView: [CollectionView, data, anno] as CollectionViewType },
+ layout: { view: WebBox, ext: anno },
options: { height: 300 }
}],
[DocumentType.COL, {