Correct path to cluster health partial
This commit is contained in:
parent
0de88f5799
commit
605daf6f64
2 changed files with 6 additions and 1 deletions
|
@ -20,4 +20,9 @@ module ClustersHelper
|
|||
|
||||
!cluster.provider.legacy_abac?
|
||||
end
|
||||
|
||||
# EE overrides this
|
||||
def show_cluster_health_graphs?(cluster)
|
||||
false
|
||||
end
|
||||
end
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue