mirror of
https://github.com/penpot/penpot.git
synced 2025-05-17 12:26:16 +02:00
🐛 Fix error entering search in dashboard
This commit is contained in:
parent
b0575e969f
commit
df73df311b
1 changed files with 4 additions and 3 deletions
|
@ -31,9 +31,10 @@
|
||||||
(if (:is-default team)
|
(if (:is-default team)
|
||||||
(t locale "dashboard.your-penpot")
|
(t locale "dashboard.your-penpot")
|
||||||
(:name team))))
|
(:name team))))
|
||||||
|
(when search-term
|
||||||
(st/emit! (dd/search-files {:team-id (:id team)
|
(st/emit! (dd/search-files {:team-id (:id team)
|
||||||
:search-term search-term})
|
:search-term search-term})
|
||||||
(dd/clear-selected-files))))
|
(dd/clear-selected-files)))))
|
||||||
|
|
||||||
[:*
|
[:*
|
||||||
[:header.dashboard-header
|
[:header.dashboard-header
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue