Fixed the visibility of the ClickHouse preferences menu (#9736)

This commit is contained in:
Manuel Ceroni 2025-10-08 17:34:22 +02:00 committed by GitHub
parent 24b5232546
commit acfb6bb9e3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -203,7 +203,7 @@ local menu_subpages = {{
label = i18n("prefs.clickhouse"),
advanced = true,
pro_only = true,
hidden = not ((ntop.isEnterpriseM() or ntop.isnEdgeEnterprise())),
hidden = not ((ntop.isEnterpriseM() or ntop.isnEdgeEnterprise())) or not ntop.isClickHouseEnabled(),
entries = {
flow_data_retention = {
title = i18n("prefs.flows_and_alerts_data_retention"),