From 0b134f758aaf5e382a354596976161415b0fb5ea Mon Sep 17 00:00:00 2001 From: Monika Hedman Date: Sat, 9 Mar 2019 20:20:17 -0500 Subject: before big changes --- src/client/views/collections/CollectionViewBase.tsx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/client/views/collections/CollectionViewBase.tsx b/src/client/views/collections/CollectionViewBase.tsx index 5db30175e..440ff87ca 100644 --- a/src/client/views/collections/CollectionViewBase.tsx +++ b/src/client/views/collections/CollectionViewBase.tsx @@ -118,7 +118,15 @@ export class CollectionViewBase extends React.Component json.map((file: any) => { let path = window.location.origin + file runInAction(() => { + + + var img = Documents.ImageDocument(path, { ...options, nativeWidth: 300, width: 300, }) + + + + + let docs = that.props.Document.GetT(KeyStore.Data, ListField); if (docs != FieldWaiting) { if (!docs) { @@ -150,7 +158,6 @@ export class CollectionViewBase extends React.Component // if (file) { // fReader.readAsBinaryString(file) // } - } // request.post(upload, { // body: { -- cgit v1.2.3-70-g09d2