Commit 76904a28 authored by Clement Ho's avatar Clement Ho

Fix tasklist for epics

parent 455ffc96
......@@ -250,6 +250,7 @@ export default {
:description-text="state.descriptionText"
:updated-at="state.updatedAt"
:task-status="state.taskStatus"
:issuable-type="issuableType"
/>
<edited-component
v-if="hasUpdated"
......
......@@ -22,6 +22,11 @@
required: false,
default: '',
},
issuableType: {
type: String,
required: false,
default: 'issue',
},
},
data() {
return {
......@@ -48,7 +53,7 @@
if (this.canUpdate) {
// eslint-disable-next-line no-new
new TaskList({
dataType: 'issue',
dataType: this.issuableType,
fieldName: 'description',
selector: '.detail-page-description',
});
......
---
title: Fix tasklist for epics
merge_request:
author:
type: fixed
......@@ -112,6 +112,7 @@
:can-destroy="canDestroy"
:endpoint="endpoint"
:issuable-ref="issuableRef"
issuable-type="epic"
:initial-title-html="initialTitleHtml"
:initial-title-text="initialTitleText"
:initial-description-html="initialDescriptionHtml"
......
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