diff options
author | madelinegr <mgriswold99@gmail.com> | 2019-06-07 15:00:52 -0400 |
---|---|---|
committer | madelinegr <mgriswold99@gmail.com> | 2019-06-07 15:00:52 -0400 |
commit | 6a905a729cbb59add629a305f99e1e225f958ea3 (patch) | |
tree | c69534e46be5ed7fa28b92b9020e577535363933 | |
parent | 8699b8bb3a3b93e2ec5eff7ca239bccbdccab8ae (diff) |
Guid Updatae
Guids will only be assigned to docs that are not in groups
-rw-r--r-- | src/client/views/presentationview/PresentationView.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/views/presentationview/PresentationView.tsx b/src/client/views/presentationview/PresentationView.tsx index bede2dd66..9acdea98e 100644 --- a/src/client/views/presentationview/PresentationView.tsx +++ b/src/client/views/presentationview/PresentationView.tsx @@ -55,8 +55,9 @@ class PresentationViewList extends React.Component<PresListProps> { initializeGroupIds = (docList: Doc[]) => { docList.forEach((doc: Doc, index: number) => { let docGuid = StrCast(doc.presentId, null); - if (docGuid === undefined) { + if (!this.props.groupMappings.has(docGuid)) { doc.presentId = Utils.GenerateGuid(); + } }); } |