mirror of
https://codeberg.org/scip/esctl.git
synced 2026-08-25 21:54:19 +02:00
Compare commits
10 Commits
fix/crashe
...
enhance/go
| Author | SHA1 | Date | |
|---|---|---|---|
| 6ddf1ce855 | |||
| 554c1b19b2 | |||
| 29d24a112f | |||
| a69262ba24 | |||
| 6cae5ddef9 | |||
| f4fe1aa875 | |||
| 1419183c50 | |||
| 9dd6bcbc89 | |||
| 3a75ad847b | |||
| 05ac8eb870 |
@@ -51,11 +51,7 @@ 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)
|
||||||
}
|
}
|
||||||
|
|
||||||
var prio int64
|
table.Entries[idx] = []any{tpl.Name, desc, tpl.IndexTemplate.Priority}
|
||||||
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