mirror of
https://github.com/searxng/searxng.git
synced 2024-11-22 20:17:45 +01:00
Merge pull request #2312 from return42/fix-1020-part-2
[fix] categories can't be removed from UI (categories_as_tabs)
This commit is contained in:
commit
64e221426a
@ -74,6 +74,10 @@ def update_settings(default_settings, user_settings):
|
|||||||
else:
|
else:
|
||||||
default_settings[k] = v
|
default_settings[k] = v
|
||||||
|
|
||||||
|
categories_as_tabs = user_settings.get('categories_as_tabs')
|
||||||
|
if categories_as_tabs:
|
||||||
|
default_settings['categories_as_tabs'] = categories_as_tabs
|
||||||
|
|
||||||
# parse the engines
|
# parse the engines
|
||||||
remove_engines = None
|
remove_engines = None
|
||||||
keep_only_engines = None
|
keep_only_engines = None
|
||||||
|
Loading…
Reference in New Issue
Block a user