Skip to content

Commit

Permalink
update: do not render empty toolbar item
Browse files Browse the repository at this point in the history
  • Loading branch information
mutantsan committed Mar 11, 2024
1 parent 951cd30 commit 9b4c0d8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ckanext/ap_main/templates/admin_panel/panel_links.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,7 @@
{% endmacro %}

{% for button in h.ap_get_toolbar_structure() %}
{{ toolbar_button(button) }}
{% if button.url or button.sibitems %}
{{ toolbar_button(button) }}
{% endif %}
{% endfor %}

0 comments on commit 9b4c0d8

Please sign in to comment.