File tree Expand file tree Collapse file tree 1 file changed +1
-20
lines changed
client/packages/lowcoder/src/pages/setting/environments Expand file tree Collapse file tree 1 file changed +1
-20
lines changed Original file line number Diff line number Diff line change @@ -4,16 +4,10 @@ import {
4
4
Spin ,
5
5
Typography ,
6
6
Card ,
7
- Row ,
8
- Col ,
9
7
Tag ,
10
8
Tabs ,
11
9
Alert ,
12
10
Descriptions ,
13
- Button ,
14
- Statistic ,
15
- Divider ,
16
- message
17
11
} from "antd" ;
18
12
import {
19
13
ReloadOutlined ,
@@ -23,15 +17,8 @@ import {
23
17
UserOutlined ,
24
18
SyncOutlined ,
25
19
} from "@ant-design/icons" ;
26
- import WorkspacesList from "./components/WorkspacesList" ;
27
- import UserGroupsList from "./components/UserGroupsList" ;
20
+
28
21
import { useEnvironmentContext } from "./context/EnvironmentContext" ;
29
- import { useEnvironmentWorkspaces } from "./hooks/useEnvironmentWorkspaces" ;
30
- import { useEnvironmentUserGroups } from "./hooks/useEnvironmentUserGroups" ;
31
- import { useManagedWorkspaces } from "./hooks/enterprise/useManagedWorkspaces" ;
32
- import { getMergedWorkspaces } from "./utils/getMergedWorkspaces" ;
33
- import { Workspace } from "./types/workspace.types" ;
34
- import { connectManagedWorkspace , unconnectManagedWorkspace } from "./services/enterprise.service" ;
35
22
import WorkspacesTab from "./components/WorkspacesTab" ;
36
23
import UserGroupsTab from "./components/UserGroupsTab" ;
37
24
@@ -43,12 +30,6 @@ const { TabPane } = Tabs;
43
30
* Environment Detail Page Component
44
31
* Shows detailed information about a specific environment
45
32
*/
46
-
47
- type WorkspaceStats = {
48
- total : number ;
49
- managed : number ;
50
- unmanaged : number ;
51
- } ;
52
33
const EnvironmentDetail : React . FC = ( ) => {
53
34
// Get environment ID from URL params
54
35
const {
You can’t perform that action at this time.
0 commit comments