Skip to content
Snippets Groups Projects
Commit 636a3ce3 authored by Simon Knox's avatar Simon Knox
Browse files

Fix missing action buttons when editing Requirements

Changelog: fixed
parent f9f36ee4
No related branches found
No related tags found
1 merge request!87868Fix missing action buttons when editing Requirements
......@@ -77,7 +77,7 @@ export default {
return this.formState.title.trim() !== '';
},
shouldShowDeleteButton() {
return this.canDestroy && this.showDeleteButton;
return this.canDestroy && this.showDeleteButton && this.typeToShow;
},
typeToShow() {
const { issueState, issuableType } = this;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment