Skip to content

Commit

Permalink
fix: widget search (#5162)
Browse files Browse the repository at this point in the history
  • Loading branch information
kyle-ssg authored Feb 26, 2025
1 parent c7533a8 commit 0289c97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/web/components/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ const App = class extends Component {
if (AccountStore.forced2Factor()) {
return <AccountSettingsPage isLoginPage={true} />
}
if (document.location.href.includes('widget')) {
if (document.location.pathname.includes('widget')) {
return <div>{this.props.children}</div>
}
const isOrganisationSelect = document.location.pathname === '/organisations'
Expand Down

0 comments on commit 0289c97

Please sign in to comment.