Skip to content

Commit

Permalink
Remove widget params for now
Browse files Browse the repository at this point in the history
  • Loading branch information
pipe01 committed Jan 2, 2021
1 parent 42f114e commit 13dcf41
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cmd/ui/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ func parseWidgets(node yaml.Node) (map[string]*widget.Widget, error) {
return nil, fmt.Errorf("parse widget '%s': %w", path, err)
}

for _, m := range paramRegex.FindAllStringSubmatch(path, -1) {
name := m[1]
w.ParamNames = append(w.ParamNames, name)
}
// for _, m := range paramRegex.FindAllStringSubmatch(path, -1) {
// name := m[1]
// w.ParamNames = append(w.ParamNames, name)
// }

w.Index = i
w.Path = path
Expand Down

0 comments on commit 13dcf41

Please sign in to comment.