Skip to content

Commit

Permalink
check method "ui" or "manual" to delete plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
syrk4web committed May 22, 2024
1 parent e469529 commit c4ddefb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/templates/plugins.html
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ <h5 class="plugins-list-container-title">PLUGINS LIST</h5>
</svg>
</a>
{% endif %}
{% if plugin['type'] == "external" %}
{% if plugin['type'] == "external" and plugin['method'] in ('ui', 'manual') %}
<button {% if is_readonly%}disabled{% endif %} data-{{attribute_name}}-action="delete"
name="{{ plugin['id'] }}"
aria-label="delete plugin"
Expand Down

0 comments on commit c4ddefb

Please sign in to comment.