diff --git a/frontend/web/components/App.js b/frontend/web/components/App.js index 71e45c649a58..9e8337f754f1 100644 --- a/frontend/web/components/App.js +++ b/frontend/web/components/App.js @@ -335,7 +335,7 @@ const App = class extends Component { if (AccountStore.forced2Factor()) { return } - if (document.location.href.includes('widget')) { + if (document.location.pathname.includes('widget')) { return
{this.props.children}
} const isOrganisationSelect = document.location.pathname === '/organisations'