Commit 675741ab authored by Filipa Lacerda's avatar Filipa Lacerda

Merge branch...

Merge branch '8341-use-hand-cursort-pointer-when-hovering-the-vulnerability-title-on-group-security-dashboard' into 'master'

Resolve "Use hand cursor (pointer) when hovering the vulnerability title on Group Security Dashboard"

Closes #8341

See merge request gitlab-org/gitlab-ee!8358
parents fcd2c832 840682c0
<script> <script>
import { mapActions } from 'vuex'; import { mapActions } from 'vuex';
import { GlSkeletonLoading } from '@gitlab-org/gitlab-ui'; import { GlButton, GlSkeletonLoading } from '@gitlab-org/gitlab-ui';
import SeverityBadge from 'ee/vue_shared/security_reports/components/severity_badge.vue'; import SeverityBadge from 'ee/vue_shared/security_reports/components/severity_badge.vue';
import VulnerabilityActionButtons from './vulnerability_action_buttons.vue'; import VulnerabilityActionButtons from './vulnerability_action_buttons.vue';
import VulnerabilityIssueLink from './vulnerability_issue_link.vue'; import VulnerabilityIssueLink from './vulnerability_issue_link.vue';
...@@ -9,6 +9,7 @@ export default { ...@@ -9,6 +9,7 @@ export default {
name: 'SecurityDashboardTableRow', name: 'SecurityDashboardTableRow',
components: { components: {
SeverityBadge, SeverityBadge,
GlButton,
GlSkeletonLoading, GlSkeletonLoading,
VulnerabilityActionButtons, VulnerabilityActionButtons,
VulnerabilityIssueLink, VulnerabilityIssueLink,
...@@ -83,11 +84,12 @@ export default { ...@@ -83,11 +84,12 @@ export default {
:lines="2" :lines="2"
/> />
<div v-else> <div v-else>
<span <gl-button
class="js-vulnerability-info" class="btn js-vulnerability-info"
variant="blank"
:class="{ strikethrough: isDismissed }" :class="{ strikethrough: isDismissed }"
@click="openModal({ vulnerability })" @click="openModal({ vulnerability })"
>{{ vulnerability.name }}</span> >{{ vulnerability.name }}</gl-button>
<vulnerability-issue-link <vulnerability-issue-link
v-if="hasIssue" v-if="hasIssue"
class="prepend-left-10" class="prepend-left-10"
......
---
title: Makes the vulnerability name on the Group Security Dashboard a button for better A11y
merge_request: 8341
author:
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment