summaryrefslogtreecommitdiff
path: root/app/views/projects/network/_head.html.haml
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-01-26 00:08:44 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2023-01-26 00:08:44 +0000
commite5fec17b5823511bda9bb1ac0dc64ab9c84a2a2f (patch)
tree5d1600d4e9cbbdf42c21978e4c52cec831c1aec8 /app/views/projects/network/_head.html.haml
parent23e3a19888835a5a7fc68a081ba1e050e9baf681 (diff)
downloadgitlab-ce-e5fec17b5823511bda9bb1ac0dc64ab9c84a2a2f.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/views/projects/network/_head.html.haml')
-rw-r--r--app/views/projects/network/_head.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/network/_head.html.haml b/app/views/projects/network/_head.html.haml
index e430dc2f372..097ffb0b7fe 100644
--- a/app/views/projects/network/_head.html.haml
+++ b/app/views/projects/network/_head.html.haml
@@ -1,6 +1,6 @@
.row-content-block.second-block.content-component-block.gl-px-0.gl-py-3
- .tree-ref-holder
- = render partial: 'shared/ref_switcher', locals: {destination: 'graph'}
+ .gl-w-20
+ #js-graph-ref-switcher{ data: { project_id: @project.id, ref: @ref, network_path: project_network_path(@project) } }
.oneline
= _("You can move around the graph by using the arrow keys.")