1
This commit is contained in:
parent
ed7f012142
commit
ab3330fe95
@ -113,7 +113,7 @@ const ProjectGroupList: React.FC = () => {
|
|||||||
<Tooltip title="项目数量">
|
<Tooltip title="项目数量">
|
||||||
<Space>
|
<Space>
|
||||||
<TeamOutlined/>
|
<TeamOutlined/>
|
||||||
{record.applications?.length || 0}
|
{record?.totalApplications || 0}
|
||||||
</Space>
|
</Space>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
),
|
),
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
import {BaseResponse, BaseRequest, BaseQuery} from '@/types/base';
|
import {BaseResponse, BaseRequest, BaseQuery} from '@/types/base';
|
||||||
import {Environment} from '../../Environment/List/types';
|
|
||||||
import {Application} from "@/pages/Deploy/Application/List/types";
|
|
||||||
|
|
||||||
export enum ProjectGroupTypeEnum {
|
export enum ProjectGroupTypeEnum {
|
||||||
PRODUCT = 'PRODUCT',
|
PRODUCT = 'PRODUCT',
|
||||||
@ -15,8 +13,7 @@ export interface ProjectGroup extends BaseResponse {
|
|||||||
projectGroupName: string;
|
projectGroupName: string;
|
||||||
projectGroupDesc?: string;
|
projectGroupDesc?: string;
|
||||||
enabled: boolean;
|
enabled: boolean;
|
||||||
environments: Environment[];
|
totalApplications: number;
|
||||||
applications: Application[];
|
|
||||||
sort: number;
|
sort: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user