aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormadelinegr <mgriswold99@gmail.com>2019-06-07 15:00:52 -0400
committermadelinegr <mgriswold99@gmail.com>2019-06-07 15:00:52 -0400
commit6a905a729cbb59add629a305f99e1e225f958ea3 (patch)
treec69534e46be5ed7fa28b92b9020e577535363933
parent8699b8bb3a3b93e2ec5eff7ca239bccbdccab8ae (diff)
Guid Updatae
Guids will only be assigned to docs that are not in groups
-rw-r--r--src/client/views/presentationview/PresentationView.tsx3
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();
+
}
});
}