0
Fork 0
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:
Pablo Alba 2024-11-13 11:50:09 +01:00
parent 03acfc2b3c
commit d4cf817b83

View file

@ -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)]