mirror of
https://codeberg.org/scip/esctl.git
synced 2026-08-24 10:44:17 +02:00
Compare commits
1 Commits
fix/lintma
...
fix/crashe
| Author | SHA1 | Date | |
|---|---|---|---|
| 54610cdbb4 |
@@ -51,7 +51,11 @@ func IndexTemplateList(conf *cfg.Config) error {
|
|||||||
return fmt.Errorf("failed to unmarshal meta json data: %w", err)
|
return fmt.Errorf("failed to unmarshal meta json data: %w", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
table.Entries[idx] = []any{tpl.Name, desc, tpl.IndexTemplate.Priority}
|
var prio int64
|
||||||
|
if tpl.IndexTemplate.Priority != nil {
|
||||||
|
prio = *tpl.IndexTemplate.Priority
|
||||||
|
}
|
||||||
|
table.Entries[idx] = []any{tpl.Name, desc, prio}
|
||||||
}
|
}
|
||||||
|
|
||||||
table.Sort()
|
table.Sort()
|
||||||
|
|||||||
Reference in New Issue
Block a user