Only show portfolio sidebar nav if the user has portfolios

This commit is contained in:
dandds 2019-06-06 14:34:43 -04:00
parent e327a0bada
commit 89b798b54a

View File

@ -21,9 +21,9 @@
{% include 'navigation/topbar.html' %}
<div class='global-layout'>
{% block global_sidenav %}
{% if portfolios %}
{% include 'navigation/global_sidenav.html' %}
{% endblock %}
{% endif %}
<div class='global-panel-container'>
{% block sidenav %}{% endblock %}