mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 00:40:10 +00:00
Always use ntop.isClickHouseEnabled() from lua. Remove prefs.is_dump_flows_to_mysql_enabled to avoid inconsistencies.
This commit is contained in:
parent
abf89f79c4
commit
06965dab27
9 changed files with 14 additions and 22 deletions
|
|
@ -573,7 +573,7 @@ else
|
|||
label = "<i class=\"fas fa-lg fa-concierge-bell\" title='" .. i18n("service_map") .. "'\"></i>",
|
||||
url = service_map_link
|
||||
}, {
|
||||
hidden = not prefs.is_dump_flows_to_clickhouse_enabled or page == "historical",
|
||||
hidden = not ntop.isClickHouseEnabled() or page == "historical",
|
||||
active = page == "db_search",
|
||||
page_name = "db_search",
|
||||
label = "<i class=\"fas fa-search-plus\" title='" .. i18n("db_explorer.historical_data_explorer") .. "'\"></i>",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue