Dashboard panels intermittently disappear when they are in the 'default' group.

Change-Id: I23a7c147e8241239e8fa13b265c2aa00dfcdbf2c
Closes-Bug: #1656045
This commit is contained in:
Eddie Ramirez 2017-01-25 22:19:40 +00:00
parent 8f2ac597da
commit 2e66521ef0
1 changed files with 2 additions and 2 deletions

View File

@ -32,8 +32,8 @@
</a>
{% endif %}
<div id="sidebar-accordion-{{ dashboard.slug }}-{{ group.slug }}"
class="list-group collapse
{% if current.slug == dashboard.slug and current_panel_group == group.slug %} in
class="list-group collapse
{% if current.slug == dashboard.slug and current_panel_group == group.slug or group.slug == 'default' %} in
{% elif current.slug != dashboard.slug and forloop.counter0 == 0 %} in{% endif %}">
{% for panel in filtered_panels %}
<a class="openstack-spin list-group-item openstack-panel {% if current.slug == dashboard.slug and current_panel == panel.slug %}active{% endif %}" href="{{ panel.get_absolute_url }}"