Commit e71f0442 authored by Vitaly Slobodin's avatar Vitaly Slobodin

Merge branch 'board-view-deprecated-button' into 'master'

Replace deprecated buttons on board view

See merge request gitlab-org/gitlab!58153
parents 3f567281 0b6a344d
...@@ -127,7 +127,7 @@ export default { ...@@ -127,7 +127,7 @@ export default {
if (this.isDeleteForm) { if (this.isDeleteForm) {
return 'danger'; return 'danger';
} }
return 'info'; return 'confirm';
}, },
title() { title() {
if (this.readonly) { if (this.readonly) {
......
---
title: Replace deprecated buttons on board view
merge_request: 58153
author:
type: changed
...@@ -269,7 +269,7 @@ export default { ...@@ -269,7 +269,7 @@ export default {
> >
<gl-button <gl-button
category="tertiary" category="tertiary"
variant="info" variant="confirm"
class="gl-w-full" class="gl-w-full"
@click="fetchMoreUnassignedIssues()" @click="fetchMoreUnassignedIssues()"
> >
......
...@@ -226,7 +226,7 @@ describe('BoardForm', () => { ...@@ -226,7 +226,7 @@ describe('BoardForm', () => {
it('passes correct primary action text and variant', () => { it('passes correct primary action text and variant', () => {
expect(findModalActionPrimary().text).toBe('Save changes'); 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', () => { 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