mirror of
https://github.com/penpot/penpot.git
synced 2026-05-14 04:24:01 +00:00
🐛 Fix libraries and templates section is shown for viewer role
This commit is contained in:
parent
03acfc2b3c
commit
d4cf817b83
@ -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…
x
Reference in New Issue
Block a user