aboutsummaryrefslogtreecommitdiff
path: root/src/client/util
diff options
context:
space:
mode:
authorSam Wilkins <samwilkins333@gmail.com>2019-09-14 17:53:17 -0400
committerSam Wilkins <samwilkins333@gmail.com>2019-09-14 17:53:17 -0400
commit037098aca0993bee6f986b592c17aa54a7225905 (patch)
tree07ec0fa05d38f63e3033b4e229fae67cca7a9d0b /src/client/util
parent42500ed737e17c2f973a653d59491eb33d6ba66b (diff)
rich text google photos transfer improvments
Diffstat (limited to 'src/client/util')
-rw-r--r--src/client/util/Import & Export/DirectoryImportBox.tsx6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/client/util/Import & Export/DirectoryImportBox.tsx b/src/client/util/Import & Export/DirectoryImportBox.tsx
index 87c187162..44075ecdd 100644
--- a/src/client/util/Import & Export/DirectoryImportBox.tsx
+++ b/src/client/util/Import & Export/DirectoryImportBox.tsx
@@ -156,7 +156,11 @@ export default class DirectoryImportBox extends React.Component<FieldViewProps>
if (docs.length < 50) {
importContainer = Docs.Create.MasonryDocument(docs, options);
} else {
- const headers = ["title", "size"].map(key => new SchemaHeaderField(key));
+ const headers = [
+ new SchemaHeaderField("title", "yellow"),
+ new SchemaHeaderField("size", "blue"),
+ new SchemaHeaderField("googlePhotosTags", "green")
+ ];
importContainer = Docs.Create.SchemaDocument(headers, docs, options);
}
runInAction(() => this.phase = 'External: uploading files to Google Photos...');