[#1223] lens/tui: Use search history when start with predefined filter
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
This commit is contained in:
parent
fbc4e3169f
commit
bb62a88de0
1 changed files with 1 additions and 1 deletions
|
@ -473,7 +473,7 @@ func (ui *UI) WithPrompt(prompt string) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
ui.pageToMount = NewBucketsView(ui, filter)
|
ui.pageToMount = NewBucketsView(ui, filter)
|
||||||
ui.searchBar.SetText(prompt)
|
ui.searchBar.AddToHistory(prompt)
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue