Skip to content

Commit

Permalink
Fix issue #4985: [Bug]: Cannot exit the session when on Jupyter or Br…
Browse files Browse the repository at this point in the history
…owser tab in the UI (#4986)
  • Loading branch information
openhands-agent authored Nov 14, 2024
1 parent a753bab commit 27cd507
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/routes/_oh.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ export default function MainApp() {
type="button"
aria-label="All Hands Logo"
onClick={() => {
if (location.pathname === "/app")
if (location.pathname.startsWith("/app"))
setStartNewProjectModalIsOpen(true);
}}
>
Expand Down

0 comments on commit 27cd507

Please sign in to comment.