mirror of
https://github.com/penpot/penpot.git
synced 2025-01-23 23:18:48 -05:00
Merge branch 'akshay-gupta7-akshayg7-focus-input-search-from-dashboard' into develop
This commit is contained in:
commit
6bad9ac629
1 changed files with 4 additions and 2 deletions
|
@ -1000,8 +1000,10 @@
|
||||||
(watch [_ state _]
|
(watch [_ state _]
|
||||||
(let [team-id (:current-team-id state)]
|
(let [team-id (:current-team-id state)]
|
||||||
(if (empty? term)
|
(if (empty? term)
|
||||||
(rx/of (rt/nav :dashboard-search
|
(do
|
||||||
{:team-id team-id}))
|
(dom/focus! (dom/get-element "search-input"))
|
||||||
|
(rx/of (rt/nav :dashboard-search
|
||||||
|
{:team-id team-id})))
|
||||||
(rx/of (rt/nav :dashboard-search
|
(rx/of (rt/nav :dashboard-search
|
||||||
{:team-id team-id}
|
{:team-id team-id}
|
||||||
{:search-term term})))))
|
{:search-term term})))))
|
||||||
|
|
Loading…
Add table
Reference in a new issue