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