Skip to content
Snippets Groups Projects
Commit f7a5ce92 authored by Filipa Lacerda's avatar Filipa Lacerda Committed by Phil Hughes
Browse files

Remove # char for commit

parent 64014b15
No related branches found
No related tags found
No related merge requests found
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