Fix default value in session selection prompt
Updated the call to Prompter.Select to use an empty string as the default value instead of options[0], ensuring no session is preselected by default.
This commit is contained in:
parent
52b85a19f5
commit
1f107cec4f
1 changed files with 1 additions and 1 deletions
|
|
@ -185,7 +185,7 @@ func viewRun(opts *ViewOptions) error {
|
|||
}
|
||||
|
||||
opts.IO.StopProgressIndicator()
|
||||
selected, err := opts.Prompter.Select("Select a session", options[0], options)
|
||||
selected, err := opts.Prompter.Select("Select a session", "", options)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue