diff options
Diffstat (limited to 'app/assets/javascripts/work_items/components/work_item_links/work_item_children_wrapper.vue')
-rw-r--r-- | app/assets/javascripts/work_items/components/work_item_links/work_item_children_wrapper.vue | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/app/assets/javascripts/work_items/components/work_item_links/work_item_children_wrapper.vue b/app/assets/javascripts/work_items/components/work_item_links/work_item_children_wrapper.vue index 2811ebc4bb0..098917f2b56 100644 --- a/app/assets/javascripts/work_items/components/work_item_links/work_item_children_wrapper.vue +++ b/app/assets/javascripts/work_items/components/work_item_links/work_item_children_wrapper.vue @@ -19,6 +19,7 @@ export default { WorkItemLinkChild, }, mixins: [glFeatureFlagsMixin()], + inject: ['fullPath'], props: { workItemType: { type: String, @@ -43,10 +44,6 @@ export default { required: false, default: false, }, - projectPath: { - type: String, - required: true, - }, fetchByIid: { type: Boolean, required: false, @@ -86,7 +83,7 @@ export default { queryVariables() { return this.fetchByIid ? { - fullPath: this.projectPath, + fullPath: this.fullPath, iid: this.workItemIid, } : { @@ -98,7 +95,7 @@ export default { addWorkItemQuery({ id, iid }) { const variables = this.fetchByIid ? { - fullPath: this.projectPath, + fullPath: this.fullPath, iid, } : { @@ -232,7 +229,6 @@ export default { <work-item-link-child v-for="child in children" :key="child.id" - :project-path="projectPath" :can-update="canUpdate" :issuable-gid="workItemId" :child-item="child" |