aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/presentationview/PresentationView.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/views/presentationview/PresentationView.tsx')
-rw-r--r--src/client/views/presentationview/PresentationView.tsx5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/client/views/presentationview/PresentationView.tsx b/src/client/views/presentationview/PresentationView.tsx
index 5a7d38e28..9baf75ad3 100644
--- a/src/client/views/presentationview/PresentationView.tsx
+++ b/src/client/views/presentationview/PresentationView.tsx
@@ -52,9 +52,12 @@ class PresentationViewList extends React.Component<PresListProps> {
// }
@action
initializeGroupArrays = (docList: Doc[]) => {
+ console.log("Starting len: ", this.props.groupedMembers.length);
docList.forEach((doc: Doc, index: number) => {
- if (this.props.groupedMembers.length < index + 1) {
+ if (this.props.groupedMembers.length < index + 2) {
this.props.groupedMembers[index] = new Array();
+ this.props.groupedMembers[index].push(docList[index]);
+
}
});
}