diff options
author | yipstanley <stanley_yip@brown.edu> | 2019-07-15 11:57:43 -0400 |
---|---|---|
committer | yipstanley <stanley_yip@brown.edu> | 2019-07-15 11:57:43 -0400 |
commit | a25dba059a49428394d897aaf0562b8c3d2348ba (patch) | |
tree | 5dcfe6be7ec7296f76d2ff2f0bddc3cc639bab8b /src/client/util/TooltipTextMenu.tsx | |
parent | 4e17f0575b73466d745b7445d9bab85f038a5622 (diff) | |
parent | c9bf8852a77298e1e958cfc72559418b6cb5981a (diff) |
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web
Diffstat (limited to 'src/client/util/TooltipTextMenu.tsx')
-rw-r--r-- | src/client/util/TooltipTextMenu.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/util/TooltipTextMenu.tsx b/src/client/util/TooltipTextMenu.tsx index 0d3adef2e..9ba339285 100644 --- a/src/client/util/TooltipTextMenu.tsx +++ b/src/client/util/TooltipTextMenu.tsx @@ -243,7 +243,7 @@ export class TooltipTextMenu { handlers: { dragComplete: action(() => { let m = dragData.droppedDocuments; - this.makeLink(DocServer.prepend("/doc/" + m[0][Id])); + m.length && this.makeLink(DocServer.prepend("/doc/" + m[0][Id])); }), }, hideSource: false |