aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package-lock.json2
-rw-r--r--src/client/views/collections/CollectionViewBase.tsx9
2 files changed, 9 insertions, 2 deletions
diff --git a/package-lock.json b/package-lock.json
index 0638166fb..88878cf1f 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -13313,4 +13313,4 @@
"dev": true
}
}
-} \ No newline at end of file
+}
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: {