Update dynamic columns & remove the need to specify style

This commit is contained in:
Svilen Markov
2024-08-31 18:37:08 +01:00
parent 99866507f5
commit e6979c77e3
8 changed files with 93 additions and 114 deletions

View File

@@ -53,9 +53,8 @@ type Monitor struct {
StatusText string `yaml:"-"`
StatusStyle string `yaml:"-"`
} `yaml:"sites"`
Style string `yaml:"style"`
ShowFailingOnly bool `yaml:"show-failing-only"`
HasFailing bool `yaml:"-"`
ShowFailingOnly bool `yaml:"show-failing-only"`
HasFailing bool `yaml:"-"`
}
func (widget *Monitor) Initialize() error {