diff --git a/src/ui/main.py b/src/ui/main.py
index d4c3d5585..8ab0ce6d8 100755
--- a/src/ui/main.py
+++ b/src/ui/main.py
@@ -994,12 +994,11 @@ def configs():
@login_required
def plugins():
tmp_ui_path = Path(sep, "var", "tmp", "bunkerweb", "ui")
+
if request.method == "POST":
error = 0
-
- is_request_params(["operation"], "plugins", True)
# Delete plugin
- if request.form["operation"] == "delete":
+ if "operation" in request.form and request.form["operation"] == "delete":
is_request_params(["type"], "plugins", True)
@@ -2014,4 +2013,4 @@ def check_reloading():
def logout():
session.clear()
logout_user()
- return redirect(url_for("login"))
+ return redirect(url_for("login"))
diff --git a/src/ui/templates/menu.html b/src/ui/templates/menu.html
index f65122f8b..f5cb21049 100644
--- a/src/ui/templates/menu.html
+++ b/src/ui/templates/menu.html
@@ -97,14 +97,13 @@
{% endif %}
{% if path == "services" %}
-
{% endif %}
{% if path == "configs" %}
@@ -218,7 +217,7 @@
-