mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 12:54:20 +01:00
fix(e2e): stop the login page requesting linked servers and update the background-activity test
This commit is contained in:
1 parent
052f2bbe04
commit
884233d95c
5 files changed
+44
-11
No files matched your search
@@ -149,6 +149,11 @@ function GlobalShortcuts() {
|
||||
return null
|
||||
}
|
||||
|
||||
function SidebarServerRouteSync() {
|
||||
useSidebarServerRouteSync()
|
||||
return null
|
||||
}
|
||||
|
||||
function ServerScope({ children }: { children: ReactNode }) {
|
||||
const { serverId } = useParams<{ serverId: string }>()
|
||||
|
||||
@@ -165,8 +170,6 @@ function AppShell() {
|
||||
const rootRef = useRef<HTMLDivElement>(null)
|
||||
const { openSheet, open } = useMobileTabBar()
|
||||
|
||||
useSidebarServerRouteSync()
|
||||
|
||||
const swipeNav = useSwipeNavigation()
|
||||
|
||||
const getRouteSwipeBackTarget = useCallback(
|
||||
@@ -236,6 +239,7 @@ function AppShell() {
|
||||
<RepoWorktreesProvider>
|
||||
<KeyboardShortcutsProvider>
|
||||
<GlobalShortcuts />
|
||||
<SidebarServerRouteSync />
|
||||
<div className="flex h-dvh w-full min-w-0 flex-col">
|
||||
<PwaUpdatePrompt />
|
||||
<div ref={rootRef} className="flex flex-1 min-h-0 w-full min-w-0">
|
||||
|
||||
Reference in new issue
Block a user