diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-03-15 18:09:10 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-03-15 18:09:10 +0300 |
commit | cb7f766437db0c483adf3c128e35c64237a2ef53 (patch) | |
tree | 0b9bd9fdedad14dd065d14d9198ce080fbbeb8a5 /app/assets/javascripts/related_issues | |
parent | 6a9ab27963fc1479fe7c78581b942c8dcce322e5 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/related_issues')
-rw-r--r-- | app/assets/javascripts/related_issues/components/related_issues_block.vue | 1 | ||||
-rw-r--r-- | app/assets/javascripts/related_issues/components/related_issues_list.vue | 7 |
2 files changed, 7 insertions, 1 deletions
diff --git a/app/assets/javascripts/related_issues/components/related_issues_block.vue b/app/assets/javascripts/related_issues/components/related_issues_block.vue index bc97fab9ad2..d9184973304 100644 --- a/app/assets/javascripts/related_issues/components/related_issues_block.vue +++ b/app/assets/javascripts/related_issues/components/related_issues_block.vue @@ -210,6 +210,7 @@ export default { <related-issues-list v-for="category in categorisedIssues" :key="category.linkType" + :list-link-type="category.linkType" :heading="$options.linkedIssueTypesTextMap[category.linkType]" :can-admin="canAdmin" :can-reorder="canReorder" diff --git a/app/assets/javascripts/related_issues/components/related_issues_list.vue b/app/assets/javascripts/related_issues/components/related_issues_list.vue index 8b39851405e..174049b15fe 100644 --- a/app/assets/javascripts/related_issues/components/related_issues_list.vue +++ b/app/assets/javascripts/related_issues/components/related_issues_list.vue @@ -21,6 +21,11 @@ export default { required: false, default: false, }, + listLinkType: { + type: String, + required: false, + default: '', + }, heading: { type: String, required: false, @@ -91,7 +96,7 @@ export default { </script> <template> - <div> + <div :data-link-type="listLinkType"> <h4 v-if="heading" class="gl-font-base mt-0">{{ heading }}</h4> <div class="related-issues-token-body bordered-box bg-white" |