0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-21 14:12:36 -05:00

🐛 Remove file history versions menu options on view mode

This commit is contained in:
alonso.torres 2024-12-10 14:41:00 +01:00
parent 36121d862d
commit b9cb415507

View file

@ -613,6 +613,8 @@
[:span {:class (stl/css :item-name)}
(tr "dashboard.add-shared")]]))
(when can-edit
[:*
[:div {:class (stl/css :separator)}]
[:> dropdown-menu-item* {:class (stl/css :submenu-item)
@ -629,7 +631,7 @@
[:span {:class (stl/css :item-name)}
(tr "dashboard.show-version-history")]]
[:div {:class (stl/css :separator)}]
[:div {:class (stl/css :separator)}]])
[:> dropdown-menu-item* {:class (stl/css :submenu-item)
:on-click on-export-shapes