mirror of
https://github.com/penpot/penpot.git
synced 2025-05-31 08:26:12 +02:00
🐛 Fix libraries and templates section is shown for viewer role
This commit is contained in:
parent
03acfc2b3c
commit
d4cf817b83
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@
|
|||
|
||||
show-templates
|
||||
(and (contains? cf/flags :dashboard-templates-section)
|
||||
(not (:can-edit permissions)))]
|
||||
(:can-edit permissions))]
|
||||
|
||||
(mf/with-effect []
|
||||
(let [key1 (events/listen js/window "resize" on-resize)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue