Commit bf17be31 authored by Austin Regnery's avatar Austin Regnery Committed by Ezekiel Kigbo

Update the variant to confrim for creating snippets

parent 749370c5
......@@ -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