mirror of
https://github.com/penpot/penpot.git
synced 2025-02-02 04:19:08 -05: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
Reference in a new issue