aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client/views/InkTranscription.tsx6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/client/views/InkTranscription.tsx b/src/client/views/InkTranscription.tsx
index dd365e1ab..b1f807bdf 100644
--- a/src/client/views/InkTranscription.tsx
+++ b/src/client/views/InkTranscription.tsx
@@ -192,12 +192,12 @@ export class InkTranscription extends React.Component {
})
})
-
const wordInkDocMap = new Map<string, Doc[]>();
if (this.currGroup) {
const docList = DocListCast(this.currGroup.data)
docList.forEach((inkDoc: Doc) => {
- const ms = DateCast(inkDoc.creationDate).getDate().getTime();
+ // just having the times match up and be a unique value (actual timestamp doesn't matter)
+ const ms = DateCast(inkDoc.creationDate).getDate().getTime() + 14400000;
const word = timestampWord.get(ms);
if (!word) {
return;
@@ -212,8 +212,6 @@ export class InkTranscription extends React.Component {
}
});
- console.log("getting here");
- console.log(wordInkDocMap);
}
// we can iterate through docs and for each doc index into the map by timestamp