From 6a905a729cbb59add629a305f99e1e225f958ea3 Mon Sep 17 00:00:00 2001 From: madelinegr Date: Fri, 7 Jun 2019 15:00:52 -0400 Subject: Guid Updatae Guids will only be assigned to docs that are not in groups --- src/client/views/presentationview/PresentationView.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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 { 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(); + } }); } -- cgit v1.2.3-70-g09d2