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 {
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
......@@ -269,7 +269,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