fix(app): isolate v2 servers from legacy layout (#38649)
This commit is contained in:
parent
3337495427
commit
aaa42fe3bf
4 changed files with 51 additions and 4 deletions
|
|
@ -127,7 +127,7 @@ const normalizeStoredSessionTabs = (key: string, tabs: SessionTabs) => {
|
|||
}
|
||||
}
|
||||
|
||||
const currentRoute = (pathname: string, search: string): LayoutRoute => {
|
||||
export const currentRoute = (pathname: string, search: string): LayoutRoute => {
|
||||
const parts = pathname.split("/").filter(Boolean)
|
||||
if (parts.length === 0) return { type: "home" }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue