mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-20 19:39:22 +00:00
fix(@desktop/search): search popup UI breaks when clearing the input field
Fixes #5138
This commit is contained in:
parent
33216d5bb5
commit
da22517138
@ -143,6 +143,7 @@ method getSearchLocationObject*(self: Module): string =
|
||||
method searchMessages*(self: Module, searchTerm: string) =
|
||||
if (searchTerm.len == 0):
|
||||
self.view.searchResultModel().clear()
|
||||
self.view.emitAppSearchCompletedSignal()
|
||||
return
|
||||
|
||||
self.controller.searchMessages(searchTerm)
|
||||
|
Loading…
x
Reference in New Issue
Block a user