mirror of https://github.com/penpot/penpot.git
🐛 Fix deleted files thumbnails generation
This commit is contained in:
parent
8cb2f27de8
commit
047483a70a
|
|
@ -490,6 +490,7 @@
|
|||
(-> state
|
||||
(d/update-in-when [:files file-id] assoc :thumbnail-id thumbnail-id)
|
||||
(d/update-in-when [:recent-files file-id] assoc :thumbnail-id thumbnail-id)
|
||||
(d/update-in-when [:deleted-files file-id] assoc :thumbnail-id thumbnail-id)
|
||||
(d/update-when :dashboard-search-result update-search-files))))))
|
||||
|
||||
;; --- EVENT: create-file
|
||||
|
|
|
|||
|
|
@ -197,7 +197,6 @@
|
|||
(l/derived :deleted-files st/state))
|
||||
|
||||
(mf/defc deleted-section*
|
||||
{::mf/props :obj}
|
||||
[{:keys [team projects]}]
|
||||
(let [deleted-map
|
||||
(mf/deref ref:deleted-files)
|
||||
|
|
|
|||
Loading…
Reference in New Issue