mirror of
https://github.com/penpot/penpot.git
synced 2025-06-11 00:21:39 +02:00
🎉 Restore removed by mistake search rpc method
This commit is contained in:
parent
399d57ace0
commit
706714d557
5 changed files with 84 additions and 1 deletions
|
@ -193,7 +193,7 @@
|
|||
(watch [_ state _]
|
||||
(let [team-id (:current-team-id state)
|
||||
params (assoc params :team-id team-id)]
|
||||
(->> (rp/query! :search-files params)
|
||||
(->> (rp/cmd! :search-files params)
|
||||
(rx/map search-result-fetched))))))
|
||||
|
||||
;; --- EVENT: files
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
(derive :get-file-object-thumbnails ::query)
|
||||
(derive :get-file-libraries ::query)
|
||||
(derive :get-file-fragment ::query)
|
||||
(derive :search-files ::query)
|
||||
|
||||
(defn handle-response
|
||||
[{:keys [status body] :as response}]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue