diff --git a/packages/web-shell/client/components/managed/ManagedSessionsPage.tsx b/packages/web-shell/client/components/managed/ManagedSessionsPage.tsx index 52cd983425b..a2465bc7a48 100644 --- a/packages/web-shell/client/components/managed/ManagedSessionsPage.tsx +++ b/packages/web-shell/client/components/managed/ManagedSessionsPage.tsx @@ -1320,36 +1320,6 @@ function ManagedSessionsContent({ aria-label={t('managed.sessions')} className={`flex min-h-0 flex-col gap-1 overflow-y-auto ${home ? '' : 'max-h-48 md:max-h-none'}`} > - {listError && ( -
- - {t('managed.listLoadFailed')} - {listError.httpError && ( - - {t('managed.errorDetails', { - status: listError.httpError.status, - code: listError.httpError.code, - requestId: listError.httpError.requestId ?? '', - })} - - )} - - -
- )} {!interactive && error && (

{error} @@ -1455,6 +1425,36 @@ function ManagedSessionsContent({ /> )} + {listError && ( +

+ + {t('managed.listLoadFailed')} + {listError.httpError && ( + + {t('managed.errorDetails', { + status: listError.httpError.status, + code: listError.httpError.code, + requestId: listError.httpError.requestId ?? '', + })} + + )} + + +
+ )} {home && provider.workspaceBinding ? (