Commit e2ffcdb4 authored by Ezekiel Kigbo's avatar Ezekiel Kigbo

Merge branch...

Merge branch 'aregnery/add-projects-from-environments-dashboard-button-variant-update' into 'master'

Change variant to confirm for add project button

See merge request gitlab-org/gitlab!84720
parents f82ac980 e3d05b89
......@@ -164,7 +164,6 @@ export default {
:title="$options.addProjectsModalHeader"
:ok-title="$options.addProjectsModalSubmit"
:ok-disabled="okDisabled"
ok-variant="success"
@hidden="onModalHidden"
@ok="onOk"
>
......@@ -199,7 +198,7 @@ export default {
<h1 class="js-dashboard-title page-title text-nowrap flex-fill">
{{ $options.dashboardHeader }}
</h1>
<gl-button v-gl-modal="$options.modalId" class="js-add-projects-button" variant="success">
<gl-button v-gl-modal="$options.modalId" class="js-add-projects-button" variant="confirm">
{{ $options.addProjectsButton }}
</gl-button>
</div>
......@@ -251,7 +250,7 @@ export default {
>.
</template>
<template #actions>
<gl-button v-gl-modal="$options.modalId" variant="success" class="js-add-projects-button">
<gl-button v-gl-modal="$options.modalId" variant="confirm" class="js-add-projects-button">
{{ s__('ModalButton|Add projects') }}
</gl-button>
</template>
......
......@@ -10,7 +10,6 @@ exports[`dashboard should match the snapshot 1`] = `
modalid="add-projects-modal"
ok-disabled="true"
ok-title="Add projects"
ok-variant="success"
size="md"
title="Add projects"
titletag="h4"
......@@ -55,7 +54,7 @@ exports[`dashboard should match the snapshot 1`] = `
role="button"
size="medium"
tabindex="0"
variant="success"
variant="confirm"
>
Add projects
......
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