aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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();
+
}
});
}