Commit 7085cc9d authored by samdbeckham's avatar samdbeckham

Swaps MR and issue buttons around

parent 9d7836ba
......@@ -60,14 +60,14 @@ export default {
action: 'createMergeRequest',
};
if (!this.vulnerability.hasIssue && this.canCreateIssuePermission) {
buttons.push(issueButton);
}
if (!this.vulnerability.hasMergeRequest && this.remediation) {
buttons.push(MRButton);
}
if (!this.vulnerability.hasIssue && this.canCreateIssuePermission) {
buttons.push(issueButton);
}
return buttons;
},
revertTitle() {
......
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