Commit 0b6a344d authored by Taurie Davis's avatar Taurie Davis

Replace deprecated buttons on board view

parent c84d9415
......@@ -127,7 +127,7 @@ export default {
if (this.isDeleteForm) {
return 'danger';
}
return 'info';
return 'confirm';
},
title() {
if (this.readonly) {
......
---
title: Replace deprecated buttons on board view
merge_request: 58153
author:
type: changed
......@@ -237,7 +237,7 @@ export default {
>
<gl-button
category="tertiary"
variant="info"
variant="confirm"
class="gl-w-full"
@click="fetchMoreUnassignedIssues()"
>
......
......@@ -226,7 +226,7 @@ describe('BoardForm', () => {
it('passes correct primary action text and variant', () => {
expect(findModalActionPrimary().text).toBe('Save changes');
expect(findModalActionPrimary().attributes[0].variant).toBe('info');
expect(findModalActionPrimary().attributes[0].variant).toBe('confirm');
});
it('does not render delete confirmation message', () => {
......
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