[#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:
Aleksey Savchuk 2024-08-13 08:39:55 +03:00
parent fbc4e3169f
commit bb62a88de0
No known key found for this signature in database

View file

@ -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
} }