mirror of https://github.com/portainer/portainer
feat(index): hide Events and Docker view when swarm-mode is enabled (#250)
parent
7cd2da4c6e
commit
6bfa3096dc
|
@ -59,13 +59,13 @@
|
|||
<li class="sidebar-list">
|
||||
<a ui-sref="volumes">Volumes <span class="menu-icon fa fa-cubes"></span></a>
|
||||
</li>
|
||||
<li class="sidebar-list" ng-if="swarm_mode || !swarm">
|
||||
<li class="sidebar-list" ng-if="!swarm">
|
||||
<a ui-sref="events">Events <span class="menu-icon fa fa-history"></span></a>
|
||||
</li>
|
||||
<li class="sidebar-list" ng-if="(swarm && !swarm_mode) || (swarm_mode && swarm_manager)">
|
||||
<a ui-sref="swarm">Swarm <span class="menu-icon fa fa-object-group"></span></a>
|
||||
</li>
|
||||
<li class="sidebar-list" ng-if="swarm_mode || !swarm">
|
||||
<li class="sidebar-list" ng-if="!swarm">
|
||||
<a ui-sref="docker">Docker <span class="menu-icon fa fa-cogs"></span></a>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
Loading…
Reference in New Issue