Skip to content

Commit e9e3b50

Browse files
committed
Improve the UI of all SLOs list table
Signed-off-by: Xabier Larrakoetxea <[email protected]>
1 parent 079bf30 commit e9e3b50

File tree

4 files changed

+104
-61
lines changed

4 files changed

+104
-61
lines changed

internal/http/ui/handler_select_slo.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ func (u ui) handlerSelectSLO() http.HandlerFunc {
5353
CriticalAlertName string
5454
WarningAlertName string
5555
GroupLabels map[string]string
56+
IsGrouped bool
5657
}
5758

5859
type tplData struct {
@@ -95,6 +96,7 @@ func (u ui) handlerSelectSLO() http.HandlerFunc {
9596
WarningAlertName: warnAlert,
9697
ServiceURL: urls.AppURL("/services/" + slo.SLO.ServiceID),
9798
GroupLabels: slo.SLO.GroupLabels,
99+
IsGrouped: slo.SLO.IsGrouped,
98100
})
99101
}
100102
return slos

0 commit comments

Comments
 (0)