Commit 650d6732 authored by Ezekiel Kigbo's avatar Ezekiel Kigbo

Merge branch 'aregnery/update-snippet-button-variant' into 'master'

Update the variant to confrim for creating snippets

See merge request gitlab-org/gitlab!76575
parents c9f77f6e bf17be31
......@@ -230,7 +230,7 @@ export default {
<gl-button
category="primary"
type="submit"
variant="success"
variant="confirm"
:disabled="updatePrevented"
data-qa-selector="submit_button"
data-testid="snippet-submit-btn"
......
......@@ -113,7 +113,7 @@ export default {
href: this.snippet.project
? joinPaths(this.snippet.project.webUrl, '-/snippets/new')
: joinPaths('/', gon.relative_url_root, '/-/snippets/new'),
variant: 'success',
variant: 'confirm',
category: 'secondary',
},
{
......
......@@ -252,7 +252,7 @@ describe('Snippet header component', () => {
disabled: false,
href: `/foo/-/snippets/new`,
text: 'New snippet',
variant: 'success',
variant: 'confirm',
},
]),
);
......
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