diff options
-rw-r--r-- | app/helpers/clusters_helper.rb | 2 | ||||
-rw-r--r-- | app/views/clusters/clusters/show.html.haml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/clusters_helper.rb b/app/helpers/clusters_helper.rb index 9a07f9e66ff..30d8a19ecce 100644 --- a/app/helpers/clusters_helper.rb +++ b/app/helpers/clusters_helper.rb @@ -22,7 +22,7 @@ module ClustersHelper end # EE overrides this - def show_cluster_health_graphs? + def show_cluster_health_graphs?(cluster) false end end diff --git a/app/views/clusters/clusters/show.html.haml b/app/views/clusters/clusters/show.html.haml index 8a93da54dce..e38a16e7a1a 100644 --- a/app/views/clusters/clusters/show.html.haml +++ b/app/views/clusters/clusters/show.html.haml @@ -34,7 +34,7 @@ = render 'banner' = render 'form' - = render_if_exists 'projects/clusters/prometheus_graphs' if show_cluster_health_graphs? + = render_if_exists 'projects/clusters/prometheus_graphs' if show_cluster_health_graphs?(@cluster) .cluster-applications-table#js-cluster-applications |