mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
check method "ui" or "manual" to delete plugin
This commit is contained in:
parent
e469529369
commit
c4ddefbc6b
1 changed files with 1 additions and 1 deletions
2
src/ui/templates/plugins.html
vendored
2
src/ui/templates/plugins.html
vendored
|
|
@ -106,7 +106,7 @@
|
|||
</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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue