diff options
author | bob <bcz@cs.brown.edu> | 2020-02-11 16:26:08 -0500 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2020-02-11 16:26:08 -0500 |
commit | 99f66f02c64a195c77b6aa1780855104064fbda1 (patch) | |
tree | 2cff53d6836e7602cdd85ea2a12d0d76de901231 /src/client/util/Import & Export/DirectoryImportBox.tsx | |
parent | d61424aafca5023ac5bde1f29695ed117723d76b (diff) | |
parent | 3861877df8909c78c12e44de81d4f9c1e2ab2711 (diff) |
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web
Diffstat (limited to 'src/client/util/Import & Export/DirectoryImportBox.tsx')
-rw-r--r-- | src/client/util/Import & Export/DirectoryImportBox.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/util/Import & Export/DirectoryImportBox.tsx b/src/client/util/Import & Export/DirectoryImportBox.tsx index 071015193..d04f56e57 100644 --- a/src/client/util/Import & Export/DirectoryImportBox.tsx +++ b/src/client/util/Import & Export/DirectoryImportBox.tsx @@ -120,8 +120,8 @@ export default class DirectoryImportBox extends React.Component<FieldViewProps> runInAction(() => this.completed += batch.length); }); - await Promise.all(uploads.map(async ({ name, type, clientAccessPath, exifData }) => { - const path = Utils.prepend(clientAccessPath); + await Promise.all(uploads.map(async ({ name, type, accessPaths, exifData }) => { + const path = Utils.prepend(accessPaths.agnostic.client); const document = await Docs.Get.DocumentFromType(type, path, { _width: 300, title: name }); const { data, error } = exifData; if (document) { |