summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorMario de la Ossa <mariodelaossa@gmail.com>2018-06-12 16:40:16 -0600
committerMario de la Ossa <mariodelaossa@gmail.com>2018-06-12 17:22:12 -0600
commit379a6a709a55f952133354febddf97854c2d5d4d (patch)
tree7ff8d93b96395d80dd7bf58473bac7aafd54d250 /app
parent7530e4ec86a686dede8eb8535fd231c1a75d3659 (diff)
downloadgitlab-ce-379a6a709a55f952133354febddf97854c2d5d4d.tar.gz
Sidebar Milestone - Fix wrong URL when selecting a parent group milestone47735-milestone-regression
Diffstat (limited to 'app')
-rw-r--r--app/assets/javascripts/milestone_select.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/milestone_select.js b/app/assets/javascripts/milestone_select.js
index f8b3d3061f0..d269c45203a 100644
--- a/app/assets/javascripts/milestone_select.js
+++ b/app/assets/javascripts/milestone_select.js
@@ -56,7 +56,7 @@ export default class MilestoneSelect {
if (issueUpdateURL) {
milestoneLinkTemplate = _.template(
- '<a href="/<%- full_path %>/milestones/<%- iid %>" class="bold has-tooltip" data-container="body" title="<%- remaining %>"><%- title %></a>',
+ '<a href="<%- web_url %>" class="bold has-tooltip" data-container="body" title="<%- remaining %>"><%- title %></a>',
);
milestoneLinkNoneTemplate = '<span class="no-value">None</span>';
}