aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents/Documents.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r--src/client/documents/Documents.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts
index 8ef31362c..007262f9c 100644
--- a/src/client/documents/Documents.ts
+++ b/src/client/documents/Documents.ts
@@ -1196,7 +1196,7 @@ export namespace DocUtils {
docAdder?.(newDoc);
}
}),
- icon: Doc.toIcon(Cast(dragDoc.type, Doc, null)),
+ icon: Doc.toIcon(dragDoc),
})) as ContextMenuProps[],
icon: "eye"
});