0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-21 04:01:24 -05:00

🐛 Fix inspect permission on shared prototype for owners

This commit is contained in:
Pablo Alba 2024-04-26 11:55:56 +02:00
parent 6901acb37e
commit 22939aa689

View file

@ -332,7 +332,7 @@
:title (tr "viewer.header.comments-section" (sc/get-tooltip :open-comments))}
i/comments])
(when (or (= (:type permissions) :membership)
(when (or (:in-team permissions)
(and (= (:type permissions) :share-link)
(= (:who-inspect permissions) "all")))
[:button {:on-click go-to-inspect