[#8662] No chats on 'Chats' view if to clear entered search term in 'Search' chat input

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
This commit is contained in:
Andrey Shovkoplyas 2019-10-11 12:20:11 +02:00
parent df098f82f6
commit 09be82272a
No known key found for this signature in database
GPG Key ID: EAAB7C8622D860A4
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@
(let [previous-touch (reagent/atom nil)
scrolling-from-top? (reagent/atom true)]
(fn [search-filter chats all-home-items]
(if (not-empty search-filter)
(if search-filter
[filter.views/home-filtered-items-list chats]
[react/animated-view
(merge {:style {:flex 1