From 0289c97c501c3a592d4cb8db1e28479ad9206e28 Mon Sep 17 00:00:00 2001 From: Kyle Johnson Date: Wed, 26 Feb 2025 15:51:01 +0000 Subject: [PATCH] fix: widget search (#5162) --- frontend/web/components/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'