diff --git a/app/scenes/Document/Document.js b/app/scenes/Document/Document.js index 97fe378cf..0cf0dc728 100644 --- a/app/scenes/Document/Document.js +++ b/app/scenes/Document/Document.js @@ -234,7 +234,8 @@ class DocumentScene extends React.Component { onClickLink = (href: string) => { if (isInternalUrl(href)) { - this.props.history.push(href); + const url = new URL(href); + this.props.history.push(url.pathname); } else { window.open(href, '_blank'); }