diff options
| author | Grail Finder <wohilas@gmail.com> | 2025-12-14 13:34:26 +0300 |
|---|---|---|
| committer | Grail Finder <wohilas@gmail.com> | 2025-12-14 13:34:26 +0300 |
| commit | 82ffc364d34f4906ef4c4c1bd4bd202d393a46bc (patch) | |
| tree | 668cc943725faccb77ae6c9dce1df0dfd9b0d303 /props_table.go | |
| parent | 37b88e7879461d4bc668ff54fb19ef9870b2ba5c (diff) | |
Chore: remove unused ticker
Diffstat (limited to 'props_table.go')
| -rw-r--r-- | props_table.go | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/props_table.go b/props_table.go index 9408469..dfbace8 100644 --- a/props_table.go +++ b/props_table.go @@ -140,9 +140,7 @@ func makePropsTable(props map[string]float32) *tview.Table { } return LocalModels } - var modelRowIndex int // will be set before model row is added - // Prepare API links dropdown - insert current API at the beginning apiLinks := slices.Insert(cfg.ApiLinks, 0, cfg.CurrentAPI) addListPopupRow("Select an api", apiLinks, cfg.CurrentAPI, func(option string) { @@ -169,7 +167,6 @@ func makePropsTable(props map[string]float32) *tview.Table { } } }) - // Prepare model list dropdown modelRowIndex = row modelCellID = fmt.Sprintf("listpopup_%d", modelRowIndex) @@ -276,7 +273,7 @@ func makePropsTable(props map[string]float32) *tview.Table { // Handle nil options if data.Options == nil { logger.Error("options list is nil for", "label", label) - if err := notifyUser("Configuration error", "Options list is nil for " + label); err != nil { + if err := notifyUser("Configuration error", "Options list is nil for "+label); err != nil { logger.Error("failed to send notification", "error", err) } return |
