aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionSubView.tsx
diff options
context:
space:
mode:
authorGeireann Lindfield Roberts <60007097+geireann@users.noreply.github.com>2020-11-04 02:47:49 +0800
committerGeireann Lindfield Roberts <60007097+geireann@users.noreply.github.com>2020-11-04 02:47:49 +0800
commit5372e9b221aa72f7dfa22121ce8a4d85573da8cf (patch)
tree762c1d86b721528cdc43db3f49b8f9fdd1ad60d1 /src/client/views/collections/CollectionSubView.tsx
parent7520040052b0943bc5c80d3754335eb869793eb1 (diff)
reset old width
because default width for doc is 400 so max does not work
Diffstat (limited to 'src/client/views/collections/CollectionSubView.tsx')
-rw-r--r--src/client/views/collections/CollectionSubView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionSubView.tsx b/src/client/views/collections/CollectionSubView.tsx
index f88ebd9ac..b27f64ff0 100644
--- a/src/client/views/collections/CollectionSubView.tsx
+++ b/src/client/views/collections/CollectionSubView.tsx
@@ -483,7 +483,7 @@ export function CollectionSubView<T, X>(schemaCtor: (doc: Doc) => T, moreProps?:
if (text && !text.includes("https://")) {
UndoManager.RunInBatch(() => this.addDocument(Docs.Create.TextDocument(text, { ...options, title: text.substring(0, 20), _width: 400, _height: 315 })), "drop");
} else {
- alert("Document updloaded failed - possibly an unsupported file type.");
+ alert("Document upload failed - possibly an unsupported file type.");
}
}
disposer();