feat(ui): Implement endpoints[].ui.hide-conditions

This commit is contained in:
TwiN
2024-04-18 20:57:07 -04:00
parent 7efe7429dd
commit e0ab35e86a
5 changed files with 80 additions and 0 deletions

View File

@ -299,6 +299,9 @@ func (endpoint *Endpoint) EvaluateHealth() *Result {
}
result.Hostname = ""
}
if endpoint.UIConfig.HideConditions {
result.ConditionResults = nil
}
return result
}