aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/client/views/collections/CollectionSubView.tsx5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/client/views/collections/CollectionSubView.tsx b/src/client/views/collections/CollectionSubView.tsx
index d7d988c19..e70cfb13c 100644
--- a/src/client/views/collections/CollectionSubView.tsx
+++ b/src/client/views/collections/CollectionSubView.tsx
@@ -460,18 +460,13 @@ export function CollectionSubView<X>(moreProps?: X) {
// create placeholder docs
// inside placeholder docs have some func that
- // TODO: once loading thing is moved it should update the x and y of the file it is placeholder for
let pileUpDoc = undefined;
- // const disposer = OverlayView.Instance.addElement(<ReactLoading type={'spinningBubbles'} color={'green'} height={250} width={250} />, { x: clientX - 125, y: clientY - 125 });
if (typeof files === 'string') {
- // uploadYoutubeVideo and similar should return a placeholder, one for each placeholder
- // generatedDocuments.push(Docs.Create.LoadingDocument(files, options));
const loading = Docs.Create.LoadingDocument(files, options);
generatedDocuments.push(loading);
Docs.Create.docsToFiles.set(loading, files);
DocUtils.uploadYoutubeVideoLoading(files, {}, loading);
} else {
- // uploadFilesToDocs and similar should return a placeholder, one for each placeholder
generatedDocuments.push(
...files.map(file => {
const loading = Docs.Create.LoadingDocument(file, options);