Skip to content

Commit af7cc3d

Browse files
authored
Merge pull request #748 from slok/slok/ui
Improve the UI of all SLOs list table
2 parents 83a8f97 + e9e3b50 commit af7cc3d

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)