mirror of
https://github.com/penpot/penpot.git
synced 2025-07-17 07:27:13 +02:00
✨ Add context menu with right click in dashboard
This commit is contained in:
parent
70cba4bbdf
commit
e87dc6d34c
10 changed files with 235 additions and 117 deletions
|
@ -65,6 +65,7 @@
|
|||
(mf/deps project)
|
||||
(st/emitf (rt/nav :dashboard-files {:team-id (:team-id project)
|
||||
:project-id (:id project)})))
|
||||
|
||||
toggle-pin
|
||||
(mf/use-callback
|
||||
(mf/deps project)
|
||||
|
@ -88,7 +89,6 @@
|
|||
params {:project-id (:id project)}]
|
||||
(st/emit! (dd/create-file (with-meta params mdata))))))]
|
||||
|
||||
|
||||
[:div.dashboard-project-row {:class (when first? "first")}
|
||||
[:div.project
|
||||
(when-not (:is-default project)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue