mirror of
https://github.com/taigrr/wails.git
synced 2026-04-02 13:19:00 -07:00
feat: sort templates by name
This commit is contained in:
@@ -191,6 +191,8 @@ func (po *ProjectOptions) PromptForInputs() error {
|
||||
|
||||
templateIndex := 0
|
||||
|
||||
options.Sort()
|
||||
|
||||
if len(options.AsSlice()) > 1 {
|
||||
templateIndex = PromptSelection("Please select a template", options.AsSlice(), 0)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user