diff options
| author | anika-ahluwalia <anika.ahluwalia@gmail.com> | 2020-04-22 18:37:52 -0500 |
|---|---|---|
| committer | anika-ahluwalia <anika.ahluwalia@gmail.com> | 2020-04-22 18:37:52 -0500 |
| commit | 2809f91453ab75948a7bbe7a0a82a77bf46a627f (patch) | |
| tree | 1b3ba54d56a6e34eed49b2ba6e40a1ccee0b753b /src/client/views/collections/CollectionSubView.tsx | |
| parent | 9c84c87730796b5da0c7e3e83e58006d73a969c1 (diff) | |
| parent | 59ad91093d019cf31dd7b602b9ac2ffc3f9699b2 (diff) | |
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web into script_documents
Diffstat (limited to 'src/client/views/collections/CollectionSubView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionSubView.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/collections/CollectionSubView.tsx b/src/client/views/collections/CollectionSubView.tsx index 37cf942c6..ca38a21b8 100644 --- a/src/client/views/collections/CollectionSubView.tsx +++ b/src/client/views/collections/CollectionSubView.tsx @@ -388,6 +388,7 @@ export function CollectionSubView<T, X>(schemaCtor: (doc: Doc) => T, moreProps?: continue; } const proto = Doc.GetProto(doc); + proto.text = result.rawText; proto.fileUpload = basename(pathname).replace("upload_", "").replace(/\.[a-z0-9]*$/, ""); if (Upload.isImageInformation(result)) { proto["data-nativeWidth"] = (result.nativeWidth > result.nativeHeight) ? 400 * result.nativeWidth / result.nativeHeight : 400; |
