only show plugins with enabled mixins

This commit is contained in:
Matthias 2021-09-19 17:36:30 +02:00
parent 2bb68fadf7
commit fc691ebbfb
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076
2 changed files with 2 additions and 2 deletions

View File

@ -130,7 +130,7 @@
{% plugin_list as pl_list %}
{% for plugin_key, plugin in pl_list.items %}
{% if plugin.has_settings %}
{% if plugin.registered_mixins %}
<li class='list-group-item' title='{{ plugin.plugin_name }}'>
<a href='#' class='nav-toggle' id='select-plugin-{{plugin_key}}'>
{{ plugin.plugin_name}}

View File

@ -38,7 +38,7 @@
{% plugin_list as pl_list %}
{% for plugin_key, plugin in pl_list.items %}
{% if plugin.has_settings %}
{% if plugin.registered_mixins %}
{% include "InvenTree/settings/plugin_settings.html" %}
{% endif %}
{% endfor %}