diff options
| author | usodhi <61431818+usodhi@users.noreply.github.com> | 2020-04-24 00:43:56 +0530 |
|---|---|---|
| committer | usodhi <61431818+usodhi@users.noreply.github.com> | 2020-04-24 00:43:56 +0530 |
| commit | 847f01833d3a078f76432e2e9d903e5804093b0a (patch) | |
| tree | b5d1a9227c1a90ea8e62567a3aa2ec87ed933c73 /src/client/views/collections/CollectionSubView.tsx | |
| parent | 36eefd94f5f5d3bc08f1f1dea31d0b752a2070c3 (diff) | |
| parent | 8a8f2c8848fe76e26188666790accaf236267e78 (diff) | |
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web into grid_view_secondary
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; |
