mirror of
https://github.com/penpot/penpot.git
synced 2025-06-07 19:01:39 +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
|
show-templates
|
||||||
(and (contains? cf/flags :dashboard-templates-section)
|
(and (contains? cf/flags :dashboard-templates-section)
|
||||||
(not (:can-edit permissions)))]
|
(:can-edit permissions))]
|
||||||
|
|
||||||
(mf/with-effect []
|
(mf/with-effect []
|
||||||
(let [key1 (events/listen js/window "resize" on-resize)]
|
(let [key1 (events/listen js/window "resize" on-resize)]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue