Skip to content
Snippets Groups Projects
Commit 1441cdf2 authored by Phil Hughes's avatar Phil Hughes
Browse files

Merge branch '31810-commit-link' into 'master'

Remove # char for commit

Closes #31810

See merge request !11093
parents 64014b15 f7a5ce92
No related branches found
No related tags found
1 merge request!11093Remove # char for commit
Pipeline #
Loading
Loading
@@ -291,7 +291,7 @@ import MiniPipelineGraph from './mini_pipeline_graph_dropdown';
 
MergeRequestWidget.prototype.updateCommitUrls = function(id) {
const commitsUrl = this.opts.commits_path;
$('.js-commit-link').text(`#${id}`).attr('href', [commitsUrl, id].join('/'));
$('.js-commit-link').text(id).attr('href', [commitsUrl, id].join('/'));
};
 
MergeRequestWidget.prototype.initMiniPipelineGraph = function() {
Loading
Loading
---
title: Remove `#` being added on commit sha in MR widget
merge_request:
author:
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment