Commit c36cf6d0 authored by Simon Knox's avatar Simon Knox

Merge branch 'btn-confirm-vulnerabilities' into 'master'

Move to confirm variant for buttons in vulnerabilities page

See merge request gitlab-org/gitlab!57961
parents ca836edd 46738fbe
...@@ -322,7 +322,7 @@ export default { ...@@ -322,7 +322,7 @@ export default {
<gl-button <gl-button
v-if="!error.gitlabIssuePath" v-if="!error.gitlabIssuePath"
category="primary" category="primary"
variant="success" variant="confirm"
:loading="issueCreationInProgress" :loading="issueCreationInProgress"
data-qa-selector="create_issue_button" data-qa-selector="create_issue_button"
@click="createIssue" @click="createIssue"
......
---
title: Move to confirm variant for buttons in vulnerabilities page
merge_request: 57961
author: Yogi (@yo)
type: changed
...@@ -141,7 +141,7 @@ export default { ...@@ -141,7 +141,7 @@ export default {
v-else-if="actionButtons.length > 0" v-else-if="actionButtons.length > 0"
v-bind="actionButtons[0]" v-bind="actionButtons[0]"
:disabled="disabled" :disabled="disabled"
variant="success" variant="confirm"
category="secondary" category="secondary"
data-testid="create-issue-button" data-testid="create-issue-button"
data-qa-selector="create_issue_button" data-qa-selector="create_issue_button"
......
...@@ -244,7 +244,7 @@ export default { ...@@ -244,7 +244,7 @@ export default {
<template v-if="canCreateIssue" #header-actions> <template v-if="canCreateIssue" #header-actions>
<gl-button <gl-button
ref="createIssue" ref="createIssue"
variant="success" variant="confirm"
category="secondary" category="secondary"
data-qa-selector="create_issue_button" data-qa-selector="create_issue_button"
:loading="isProcessingAction" :loading="isProcessingAction"
......
...@@ -90,7 +90,7 @@ export default { ...@@ -90,7 +90,7 @@ export default {
</gl-button> </gl-button>
<gl-button <gl-button
ref="save-button" ref="save-button"
variant="success" variant="confirm"
:disabled="selected === initialStateItem" :disabled="selected === initialStateItem"
@click="saveState(selected)" @click="saveState(selected)"
> >
......
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