From 72be98e12f5b8454f03cf3cb44a920fce75d4f7b Mon Sep 17 00:00:00 2001 From: Bnyro Date: Sun, 7 Apr 2024 15:52:00 +0200 Subject: [feat] plugins: new calculator plugin --- searx/templates/simple/preferences.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'searx/templates/simple/preferences.html') diff --git a/searx/templates/simple/preferences.html b/searx/templates/simple/preferences.html index 9dab84fd1..0145dcd0f 100644 --- a/searx/templates/simple/preferences.html +++ b/searx/templates/simple/preferences.html @@ -38,7 +38,7 @@ {%- macro plugin_preferences(section) -%} {%- for plugin in plugins -%} -{%- if plugin.preference_section == section -%} +{%- if plugin.preference_section == section and (plugin.is_allowed() if plugin.is_allowed else True) -%}
{{- '' -}} {{ _(plugin.name) }}{{- '' -}}
-- cgit v1.2.3