From df60434797a191474794e0963616188fdfaf7f29 Mon Sep 17 00:00:00 2001 From: hujiahao-hjh Date: Wed, 28 Jul 2021 19:57:48 +0800 Subject: [PATCH] fix: issue-relation-columns-width-adjustment --- .../modules/project/common/components/issue/issue-relation.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/app/modules/project/common/components/issue/issue-relation.tsx b/shell/app/modules/project/common/components/issue/issue-relation.tsx index cc0e8726bc..d3c0326ac1 100644 --- a/shell/app/modules/project/common/components/issue/issue-relation.tsx +++ b/shell/app/modules/project/common/components/issue/issue-relation.tsx @@ -94,7 +94,6 @@ export const IssueRelation = React.forwardRef((props: IProps, ref: any) => { { title: i18n.t('{name} title', { name: i18n.t('project:issue') }), dataIndex: 'title', - width: 240, render: (v: string, record: ISSUE.IssueType) => { const { type, id, iterationID: _iterationID } = record; const url = @@ -141,6 +140,7 @@ export const IssueRelation = React.forwardRef((props: IProps, ref: any) => { { title: i18n.t('project:assignee'), dataIndex: 'assignee', + width: 240, render: (userId: string, record: ISSUE.Task) => { const checkRole = [isCreator(record.creator), isAssignee(record.assignee)]; const editAuth = getAuth(authObj.edit, checkRole);