diff options
Diffstat (limited to 'src/client/views/collections/collectionFreeForm')
| -rw-r--r-- | src/client/views/collections/collectionFreeForm/MarqueeView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/collectionFreeForm/MarqueeView.tsx b/src/client/views/collections/collectionFreeForm/MarqueeView.tsx index d7fc2feda..36d14056b 100644 --- a/src/client/views/collections/collectionFreeForm/MarqueeView.tsx +++ b/src/client/views/collections/collectionFreeForm/MarqueeView.tsx @@ -134,7 +134,7 @@ export class MarqueeView extends React.Component<SubCollectionViewProps & Marque e.stopPropagation(); } else if (e.key === "f" && e.ctrlKey) { e.preventDefault(); - const root = Docs.Create.FreeformDocument([], { title: "folder", _stayInCollection: true, isFolder: true }); + const root = Docs.Create.TreeDocument([], { title: "folder", _stayInCollection: true, isFolder: true }); const folder = Docs.Create.TreeDocument([root], { title: "root", isFolder: true, treeViewType: "fileSystem", treeViewTruncateTitleWidth: 150 }); Doc.GetProto(folder).isFolder = true; folder.x = x; |
