From 89f19ce132d8ef0b20e1e5609da94fa021db8aa5 Mon Sep 17 00:00:00 2001 From: arbulu89 Date: Tue, 18 Jan 2022 14:24:06 +0100 Subject: [PATCH 1/2] Select properly the filter elements when page reload --- web/templates/blocks/health_filter.html.tmpl | 4 ++-- web/templates/clusters.html.tmpl | 15 ++++++--------- web/templates/hosts.html.tmpl | 13 +++++-------- web/templates/sap_systems.html.tmpl | 11 ++++------- 4 files changed, 17 insertions(+), 26 deletions(-) diff --git a/web/templates/blocks/health_filter.html.tmpl b/web/templates/blocks/health_filter.html.tmpl index 3de5fc1ee..79329655f 100644 --- a/web/templates/blocks/health_filter.html.tmpl +++ b/web/templates/blocks/health_filter.html.tmpl @@ -1,8 +1,8 @@ {{ define "health_filter" }} - -{{- end }} \ No newline at end of file +{{- end }} diff --git a/web/templates/clusters.html.tmpl b/web/templates/clusters.html.tmpl index 8cc114a37..2f9eb6f23 100644 --- a/web/templates/clusters.html.tmpl +++ b/web/templates/clusters.html.tmpl @@ -20,16 +20,13 @@
{{ template "health_filter" }} - - - {{- range .FilterSIDs }} diff --git a/web/templates/sap_systems.html.tmpl b/web/templates/sap_systems.html.tmpl index c7353b8cb..5f9b37d95 100644 --- a/web/templates/sap_systems.html.tmpl +++ b/web/templates/sap_systems.html.tmpl @@ -19,16 +19,13 @@
{{/* {{ template "health_filter" }} */}} - - {{- range .ClustersTable }} - {{- if .Name }} - - {{- end }} + {{- range .filterClusterNames }} + {{- end}}