Merge branch 'fix-network-links' into 'master'
Fix Network graph links. ## What does this MR do? Fixes the Network graph links so they no longer link to `/master#{escape_javascript(@commit_url)}` ## Are there points in the code the reviewer needs to double check? Don't think so. ## Why was this MR needed? Single quotes don't evaluate Ruby expressions. ## What are the relevant issue numbers? Fixes #18894. cc: @jschatz1 See merge request !4832
This commit is contained in:
commit
9676421d01
1 changed files with 1 additions and 1 deletions
|
@ -15,5 +15,5 @@
|
|||
= check_box_tag :filter_ref, 1, @options[:filter_ref]
|
||||
%span Begin with the selected commit
|
||||
|
||||
.network-graph{ data: { url: '#{escape_javascript(@url)}', commit_url: '#{escape_javascript(@commit_url)}', ref: '#{escape_javascript(@ref)}', commit_id: '#{escape_javascript(@commit.id)}' } }
|
||||
.network-graph{ data: { url: @url, commit_url: @commit_url, ref: @ref, commit_id: @commit.id } }
|
||||
= spinner nil, true
|
||||
|
|
Loading…
Reference in a new issue