diff --git a/src/browser/components/HoveringURL.jsx b/src/browser/components/HoveringURL.jsx index f6c3526b..fcab6dd3 100644 --- a/src/browser/components/HoveringURL.jsx +++ b/src/browser/components/HoveringURL.jsx @@ -2,6 +2,10 @@ const React = require('react'); const PropTypes = require('prop-types'); function HoveringURL(props) { + if (props.targetURL.startsWith(props.currentTeamURL)) { + return
; + } + return (
{props.targetURL} @@ -10,6 +14,7 @@ function HoveringURL(props) { } HoveringURL.propTypes = { + currentTeamURL: PropTypes.string, targetURL: PropTypes.string, }; diff --git a/src/browser/components/MainPage.jsx b/src/browser/components/MainPage.jsx index 8a190527..408664fe 100644 --- a/src/browser/components/MainPage.jsx +++ b/src/browser/components/MainPage.jsx @@ -372,6 +372,7 @@ const MainPage = createReactClass({ >