aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMonika Hedman <monika_hedman@brown.edu>2019-03-09 20:20:17 -0500
committerMonika Hedman <monika_hedman@brown.edu>2019-03-09 20:20:17 -0500
commit0b134f758aaf5e382a354596976161415b0fb5ea (patch)
treed6909c1b254746f800e99ce7e1287d559b386454 /src
parentb803f7670a58be66662a04cac55ce24ccec165ee (diff)
before big changes
Diffstat (limited to 'src')
-rw-r--r--src/client/views/collections/CollectionViewBase.tsx9
1 files changed, 8 insertions, 1 deletions
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<SubCollectionViewProps>
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<SubCollectionViewProps>
// if (file) {
// fReader.readAsBinaryString(file)
// }
-
}
// request.post(upload, {
// body: {