diff options
author | usodhi <61431818+usodhi@users.noreply.github.com> | 2020-08-10 09:54:55 +0530 |
---|---|---|
committer | usodhi <61431818+usodhi@users.noreply.github.com> | 2020-08-10 09:54:55 +0530 |
commit | 3bfb158e4560ca2aa45373d39e46021a25051c96 (patch) | |
tree | 2282a85074bf3eceb3f33285016a605f13584fd6 /src/client/util/DocumentManager.ts | |
parent | ef0528db45c3050671174163181531ace8692bdd (diff) | |
parent | b096129d54238bc4cea735cd2db8e5f3e94613b7 (diff) |
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web into acls_uv
Diffstat (limited to 'src/client/util/DocumentManager.ts')
-rw-r--r-- | src/client/util/DocumentManager.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/util/DocumentManager.ts b/src/client/util/DocumentManager.ts index 523dbfca0..bd57e7f48 100644 --- a/src/client/util/DocumentManager.ts +++ b/src/client/util/DocumentManager.ts @@ -152,7 +152,7 @@ export class DocumentManager { const first = getFirstDocView(annotatedDoc); if (first) { annotatedDoc = first.props.Document; - docView?.props.focus(annotatedDoc, false); + first.props.focus(annotatedDoc, false); } } if (docView) { // we have a docView already and aren't forced to create a new one ... just focus on the document. TODO move into view if necessary otherwise just highlight? |