widgets: Fix project filter buttons (#362)

This commit is contained in:
Thomas Mieling authored and gcushen committed 2017-10-28 15:52:20 +01:00
1 parent 70ea150aeb
commit 18979019f9
1 file changed
+3 -1
+3 -1
View File
@@ -15,7 +15,8 @@
<span class="hidden default-project-filter">{{ (index $page.Params.filter ($filter_default)).tag }}</span>
{{ end }}
{{ if and (($page.Params.filter) (gt (len $page.Params.filter) 1)) }}
{{ if isset $page.Params "filter" }}
{{ if gt (len $page.Params.filter) 1 }}
<div class="project-toolbar">
<div class="project-filters">
<div class="btn-toolbar">
@@ -28,6 +29,7 @@
</div>
</div>
{{ end }}
{{ end }}
{{ if eq $page.Params.view 0 }}