@@ -3,13 +3,12 @@ import { ArchiveWorkspace } from "@/features/workspace/components/archive-worksp
3
3
4
4
import { WorkspaceHeading } from "@/features/workspace/components/workspace-heading" ;
5
5
import { WorkspaceName } from "@/features/workspace/components/workspace-name" ;
6
- import { Alert , Badge , Breadcrumb , Breadcrumbs } from "@stacklok/ui-kit" ;
6
+ import { Alert , Breadcrumb , Breadcrumbs } from "@stacklok/ui-kit" ;
7
7
import { useParams } from "react-router-dom" ;
8
8
import { useArchivedWorkspaces } from "@/features/workspace/hooks/use-archived-workspaces" ;
9
9
import { useRestoreWorkspaceButton } from "@/features/workspace/hooks/use-restore-workspace-button" ;
10
10
import { WorkspaceCustomInstructions } from "@/features/workspace/components/workspace-custom-instructions" ;
11
11
import { WorkspacePreferredModel } from "@/features/workspace/components/workspace-preferred-model" ;
12
- import { useActiveWorkspaceName } from "@/features/workspace/hooks/use-active-workspace-name" ;
13
12
14
13
function WorkspaceArchivedBanner ( { name } : { name : string } ) {
15
14
const restoreButtonProps = useRestoreWorkspaceButton ( { workspaceName : name } ) ;
@@ -37,8 +36,6 @@ export function RouteWorkspace() {
37
36
data ?. workspaces . find ( ( w ) => w . name === name ) !== undefined ,
38
37
} ) ;
39
38
40
- const { data : activeWorkspaceName } = useActiveWorkspaceName ( ) ;
41
-
42
39
return (
43
40
< >
44
41
< Breadcrumbs >
@@ -50,12 +47,7 @@ export function RouteWorkspace() {
50
47
< WorkspaceHeading
51
48
title = {
52
49
< div className = "flex gap-2 items-center" >
53
- Workspace settings for "{ name } "
54
- { activeWorkspaceName === name && (
55
- < Badge size = "sm" variant = "inverted" >
56
- Active
57
- </ Badge >
58
- ) }
50
+ Workspace settings for { name }
59
51
</ div >
60
52
}
61
53
/>
0 commit comments