From 96de4bf18d5721d2b7957d7adb8ad3393462c4d1 Mon Sep 17 00:00:00 2001
From: Sam Wilkins <samwilkins333@gmail.com>
Date: Fri, 31 Jan 2020 11:04:58 -0500
Subject: lint

---
 src/client/views/collections/CollectionTreeView.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/client/views/collections/CollectionTreeView.tsx')

diff --git a/src/client/views/collections/CollectionTreeView.tsx b/src/client/views/collections/CollectionTreeView.tsx
index a7733ab5f..803454113 100644
--- a/src/client/views/collections/CollectionTreeView.tsx
+++ b/src/client/views/collections/CollectionTreeView.tsx
@@ -634,7 +634,7 @@ export class CollectionTreeView extends CollectionSubView(Document) {
                     DocListCast(d.data).map((img, i) => {
                         const caption = (d.captions as any)[i]?.data;
                         if (caption instanceof ObjectField) {
-                            Doc.GetProto(img).caption = ObjectField.MakeCopy(caption as ObjectField);
+                            Doc.GetProto(img).caption = ObjectField.MakeCopy(caption);
                         }
                         img._hideSidebar = true;
                         d.captions = undefined;
-- 
cgit v1.2.3-70-g09d2

