[#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:
parent
df098f82f6
commit
09be82272a
|
@ -64,7 +64,7 @@
|
||||||
(let [previous-touch (reagent/atom nil)
|
(let [previous-touch (reagent/atom nil)
|
||||||
scrolling-from-top? (reagent/atom true)]
|
scrolling-from-top? (reagent/atom true)]
|
||||||
(fn [search-filter chats all-home-items]
|
(fn [search-filter chats all-home-items]
|
||||||
(if (not-empty search-filter)
|
(if search-filter
|
||||||
[filter.views/home-filtered-items-list chats]
|
[filter.views/home-filtered-items-list chats]
|
||||||
[react/animated-view
|
[react/animated-view
|
||||||
(merge {:style {:flex 1
|
(merge {:style {:flex 1
|
||||||
|
|
Loading…
Reference in New Issue