summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFatih Acet <acetfatih@gmail.com>2017-05-18 16:18:09 +0000
committerFatih Acet <acetfatih@gmail.com>2017-05-18 16:18:09 +0000
commit4de3d0b1bea5066e772ad6a7d02614d907594f17 (patch)
tree14b233bf9af175011274e32dc895038866669929
parent64ca23416d5b351a6659d524f96ac7bd1265c077 (diff)
parentbba9fadeba34334f4a17db1e23c8739dd591b6c0 (diff)
downloadgitlab-ce-4de3d0b1bea5066e772ad6a7d02614d907594f17.tar.gz
Merge branch 'fix-trailing-space-mr-widget' into 'master'
Refactored the anchor tag to remove the trailing space in the target branch Closes #32445 See merge request !11463
-rw-r--r--app/assets/javascripts/vue_merge_request_widget/components/mr_widget_header.js5
-rw-r--r--changelogs/unreleased/fix-trailing-space-mr-widget.yml4
2 files changed, 5 insertions, 4 deletions
diff --git a/app/assets/javascripts/vue_merge_request_widget/components/mr_widget_header.js b/app/assets/javascripts/vue_merge_request_widget/components/mr_widget_header.js
index 9e7299fcdeb..cfd34970f11 100644
--- a/app/assets/javascripts/vue_merge_request_widget/components/mr_widget_header.js
+++ b/app/assets/javascripts/vue_merge_request_widget/components/mr_widget_header.js
@@ -92,10 +92,7 @@ export default {
:class="{'label-truncated has-tooltip': isBranchTitleLong(mr.targetBranch)}"
:title="isBranchTitleLong(mr.targetBranch) ? mr.targetBranch : ''"
data-placement="bottom">
- <a
- :href="mr.targetBranchPath">
- {{mr.targetBranch}}
- </a>
+ <a :href="mr.targetBranchPath">{{mr.targetBranch}}</a>
</span>
</strong>
<span
diff --git a/changelogs/unreleased/fix-trailing-space-mr-widget.yml b/changelogs/unreleased/fix-trailing-space-mr-widget.yml
new file mode 100644
index 00000000000..86be36f3cf4
--- /dev/null
+++ b/changelogs/unreleased/fix-trailing-space-mr-widget.yml
@@ -0,0 +1,4 @@
+---
+title: Refactored the anchor tag to remove the trailing space in the target branch
+merge_request:
+author: