mirror of
https://github.com/penpot/penpot.git
synced 2025-01-10 08:50:57 -05:00
🐛 Fix incorrect lense on dashboard selected files.
This commit is contained in:
parent
ac37f903d4
commit
23b315c58f
2 changed files with 2 additions and 2 deletions
|
@ -80,7 +80,7 @@
|
|||
(def dashboard-selected-files
|
||||
(l/derived (fn [state]
|
||||
(let [get-file #(get-in state [:dashboard-files %])
|
||||
sim-file #(select-keys % [:id :name :project-id])
|
||||
sim-file #(select-keys % [:id :name :project-id :is-shared])
|
||||
selected (get-in state [:dashboard-local :selected-files])
|
||||
xform (comp (map get-file)
|
||||
(map sim-file))]
|
||||
|
|
|
@ -97,7 +97,7 @@
|
|||
:title (tr "modals.delete-file-multi-confirm.title" file-count)
|
||||
:message (tr "modals.delete-file-multi-confirm.message" file-count)
|
||||
:accept-label (tr "modals.delete-file-multi-confirm.accept" file-count)
|
||||
:on-accept delete-fn}))
|
||||
:on-accept delete-fn}))
|
||||
(st/emit! (modal/show
|
||||
{:type :confirm
|
||||
:title (tr "modals.delete-file-confirm.title")
|
||||
|
|
Loading…
Reference in a new issue