aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionStackingView.tsx
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-08-15 11:05:56 -0400
committerbob <bcz@cs.brown.edu>2019-08-15 11:05:56 -0400
commitafb3e5d23e101044d148345de731285b468932b2 (patch)
treefe3ae638c60d8a5de27c1bb5d5a98782726657ba /src/client/views/collections/CollectionStackingView.tsx
parentdb80d801b6fa590719128e3bc0bfd824ef94555f (diff)
adding template drop target to chrome
Diffstat (limited to 'src/client/views/collections/CollectionStackingView.tsx')
-rw-r--r--src/client/views/collections/CollectionStackingView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionStackingView.tsx b/src/client/views/collections/CollectionStackingView.tsx
index a17ac96e1..9900049c1 100644
--- a/src/client/views/collections/CollectionStackingView.tsx
+++ b/src/client/views/collections/CollectionStackingView.tsx
@@ -56,7 +56,7 @@ export class CollectionStackingView extends CollectionSubView(doc => doc) {
}
get Sections() {
- if (!this.sectionFilter) return new Map<SchemaHeaderField, Doc[]>();
+ if (!this.sectionFilter || this.sectionHeaders instanceof Promise) return new Map<SchemaHeaderField, Doc[]>();
if (this.sectionHeaders === undefined) {
this.props.Document.sectionHeaders = new List<SchemaHeaderField>();