Add toast to warn about deprecated mysql support

This commit is contained in:
Alfredo Cardigliano 2021-12-10 10:41:00 +01:00
parent 7ab9ee22c4
commit 2b643ab7c4
5 changed files with 27 additions and 24 deletions

View file

@ -205,11 +205,6 @@ else
hidden = not ntop.isPro(),
url = "/lua/pro/report.lua",
},
{
entry = page_utils.menu_entries.db_explorer,
hidden = not ntop.isPro() or not prefs.is_dump_flows_to_mysql_enabled or ifs.isViewed or prefs.is_dump_flows_to_clickhouse_enabled,
url = "/lua/pro/db_explorer.lua?ifid="..ifId,
},
{
entry = page_utils.menu_entries.db_explorer,
hidden = not ntop.isPro() or (not prefs.is_dump_flows_to_clickhouse_enabled) or ifs.isViewed or not auth.has_capability(auth.capabilities.historical_flows),