mirror of
https://github.com/penpot/penpot.git
synced 2025-02-01 20:09:04 -05:00
🐛 Remove file history versions menu options on view mode
This commit is contained in:
parent
36121d862d
commit
b9cb415507
1 changed files with 16 additions and 14 deletions
|
@ -613,6 +613,8 @@
|
||||||
[:span {:class (stl/css :item-name)}
|
[:span {:class (stl/css :item-name)}
|
||||||
(tr "dashboard.add-shared")]]))
|
(tr "dashboard.add-shared")]]))
|
||||||
|
|
||||||
|
(when can-edit
|
||||||
|
[:*
|
||||||
[:div {:class (stl/css :separator)}]
|
[:div {:class (stl/css :separator)}]
|
||||||
|
|
||||||
[:> dropdown-menu-item* {:class (stl/css :submenu-item)
|
[:> dropdown-menu-item* {:class (stl/css :submenu-item)
|
||||||
|
@ -629,7 +631,7 @@
|
||||||
[:span {:class (stl/css :item-name)}
|
[:span {:class (stl/css :item-name)}
|
||||||
(tr "dashboard.show-version-history")]]
|
(tr "dashboard.show-version-history")]]
|
||||||
|
|
||||||
[:div {:class (stl/css :separator)}]
|
[:div {:class (stl/css :separator)}]])
|
||||||
|
|
||||||
[:> dropdown-menu-item* {:class (stl/css :submenu-item)
|
[:> dropdown-menu-item* {:class (stl/css :submenu-item)
|
||||||
:on-click on-export-shapes
|
:on-click on-export-shapes
|
||||||
|
|
Loading…
Add table
Reference in a new issue