Commit e2af198b authored by Phil Hughes's avatar Phil Hughes

Fixes the collapsed admin geo link flyout not showing

parent 8418dba4
---
title: Fixed admin geo collapsed sidebar fly out not showing
merge_request: 19012
author:
type: fixed
...@@ -4,12 +4,12 @@ ...@@ -4,12 +4,12 @@
= sprite_icon('location-dot') = sprite_icon('location-dot')
%span.nav-item-name %span.nav-item-name
#{ _('Geo') } #{ _('Geo') }
- if Gitlab::Geo.secondary?
%ul.sidebar-sub-level-items %ul.sidebar-sub-level-items
= nav_link(controller: 'admin/geo/nodes', html_options: { class: "fly-out-top-item" } ) do = nav_link(controller: 'admin/geo/nodes', html_options: { class: "fly-out-top-item" } ) do
= link_to admin_geo_nodes_path do = link_to admin_geo_nodes_path do
%strong.fly-out-top-item-name %strong.fly-out-top-item-name
#{ _('Geo') } #{ _('Geo') }
- if Gitlab::Geo.secondary?
%li.divider.fly-out-top-item %li.divider.fly-out-top-item
= nav_link(path: 'admin/geo/nodes#index') do = nav_link(path: 'admin/geo/nodes#index') do
= link_to admin_geo_nodes_path, title: 'Nodes' do = link_to admin_geo_nodes_path, title: 'Nodes' do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment