Correct path to cluster health partial
This commit is contained in:
parent
0de88f5799
commit
605daf6f64
|
@ -20,4 +20,9 @@ module ClustersHelper
|
||||||
|
|
||||||
!cluster.provider.legacy_abac?
|
!cluster.provider.legacy_abac?
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# EE overrides this
|
||||||
|
def show_cluster_health_graphs?(cluster)
|
||||||
|
false
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
= render 'banner'
|
= render 'banner'
|
||||||
= render 'form'
|
= 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
|
.cluster-applications-table#js-cluster-applications
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue