diff options
author | mehekj <mehek.jethani@gmail.com> | 2021-10-23 21:36:30 -0400 |
---|---|---|
committer | mehekj <mehek.jethani@gmail.com> | 2021-10-23 21:36:30 -0400 |
commit | 3d76222b8cd41423bcdd7a91e4aee2826f329d9f (patch) | |
tree | d5be2838bb8a85dbbeff54048025245acf766162 /src/client/views/nodes/ComparisonBox.tsx | |
parent | 353e72feb29d3549dcf7ec7875241ddb7a9a99d9 (diff) |
audiobox UI update
Diffstat (limited to 'src/client/views/nodes/ComparisonBox.tsx')
-rw-r--r-- | src/client/views/nodes/ComparisonBox.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/nodes/ComparisonBox.tsx b/src/client/views/nodes/ComparisonBox.tsx index d80fb44cf..d47e8340c 100644 --- a/src/client/views/nodes/ComparisonBox.tsx +++ b/src/client/views/nodes/ComparisonBox.tsx @@ -89,8 +89,8 @@ export class ComparisonBox extends ViewBoxAnnotatableComponent<ViewBoxAnnotatabl }; const displayDoc = (which: string) => { var whichDoc = Cast(this.dataDoc[which], Doc, null); - if (whichDoc?.type === DocumentType.MARKER) whichDoc = Cast(whichDoc.annotationOn, Doc, null); - const targetDoc = Cast(whichDoc.annotationOn, Doc, null) ?? whichDoc; + // if (whichDoc?.type === DocumentType.MARKER) whichDoc = Cast(whichDoc.annotationOn, Doc, null); + const targetDoc = Cast(whichDoc?.annotationOn, Doc, null) ?? whichDoc; return whichDoc ? <> <DocumentView ref={(r) => { |