Correct path to cluster health partial

This commit is contained in:
Reuben Pereira 2019-04-10 12:19:58 +00:00 committed by Sean McGivern
parent 0de88f5799
commit 605daf6f64
2 changed files with 6 additions and 1 deletions

View file

@ -20,4 +20,9 @@ module ClustersHelper
!cluster.provider.legacy_abac?
end
# EE overrides this
def show_cluster_health_graphs?(cluster)
false
end
end

View file

@ -34,7 +34,7 @@
= render 'banner'
= render 'form'
= render_if_exists 'health'
= render_if_exists 'projects/clusters/prometheus_graphs' if show_cluster_health_graphs?(@cluster)
.cluster-applications-table#js-cluster-applications