diff options
| author | bob <bcz@cs.brown.edu> | 2020-01-24 18:04:55 -0500 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2020-01-24 18:04:55 -0500 |
| commit | cb822629e9116ad989d7098a591e0fa481c3c82e (patch) | |
| tree | 4044ae7bb2dd611d5178c05d912b8734a58c70b2 /src/client/views/collections/CollectionSubView.tsx | |
| parent | 15cb130178872d73b0c4939e4eca4f0eb21ed9f0 (diff) | |
warning fixes.
Diffstat (limited to 'src/client/views/collections/CollectionSubView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionSubView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionSubView.tsx b/src/client/views/collections/CollectionSubView.tsx index e2bcbda9c..d1a5bed1e 100644 --- a/src/client/views/collections/CollectionSubView.tsx +++ b/src/client/views/collections/CollectionSubView.tsx @@ -312,7 +312,7 @@ export function CollectionSubView<T>(schemaCtor: (doc: Doc) => T) { promises.push(Networking.PostFormDataToServer("/upload", formData).then(results => { results.map(action((result: any) => { const { clientAccessPath, nativeWidth, nativeHeight, contentSize } = result; - const full = { ...options, width: 300, title: dropFileName }; + const full = { ...options, _width: 300, title: dropFileName }; const pathname = Utils.prepend(clientAccessPath); Docs.Get.DocumentFromType(type, pathname, full).then(doc => { if (doc) { |
