From 13dcf4128923d7d7a23c70dbbfc852fe9004b288 Mon Sep 17 00:00:00 2001 From: Felipe Martinez Date: Sat, 2 Jan 2021 21:26:50 +0100 Subject: [PATCH] Remove widget params for now --- cmd/ui/config/config.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/ui/config/config.go b/cmd/ui/config/config.go index 6266eb2..0a148d2 100644 --- a/cmd/ui/config/config.go +++ b/cmd/ui/config/config.go @@ -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