Skip to content
代码片段 群组 项目
未验证 提交 36c834a0 编辑于 作者: Alexander Turinske's avatar Alexander Turinske 提交者: GitLab
浏览文件

Merge branch 'sec-policies-list-adjustments' into 'master'

Secure Policies list: Fix vertical spacing and delete action

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/169947



Merged-by: default avatarAlexander Turinske <aturinske@gitlab.com>
Approved-by: default avatarCamellia X Yang <xyang@gitlab.com>
Approved-by: default avatarAlexander Turinske <aturinske@gitlab.com>
Co-authored-by: default avatarSascha Eggenberger <seggenberger@gitlab.com>
No related branches found
No related tags found
无相关合并请求
......@@ -252,6 +252,9 @@ export default {
{
text: __('Delete'),
action: () => this.handleDelete(policy),
extraAttrs: {
class: '!gl-text-danger',
},
},
];
},
......@@ -503,6 +506,7 @@ export default {
category="tertiary"
icon="ellipsis_v"
placement="bottom-end"
class="-gl-my-3"
:disabled="isPolicyInherited(item.source)"
/>
</span>
......
......@@ -362,6 +362,9 @@ describe('List component', () => {
const DELETE_ACTION = {
action: expect.anything(),
extraAttrs: {
class: '!gl-text-danger',
},
text: 'Delete',
};
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册