mirror of
https://github.com/penpot/penpot.git
synced 2026-03-19 08:53:39 +00:00
🐛 Do not show 'Add annotation' menu entry for components with annotation
This commit is contained in:
@@ -334,7 +334,7 @@
|
||||
|
||||
local-component? (= library-id current-file-id)
|
||||
component (find-component shape)
|
||||
lacks-annotation? (nil? (:annotation shape))
|
||||
lacks-annotation? (nil? (:annotation component))
|
||||
is-dangling? (nil? component)
|
||||
|
||||
can-update-main? (or (not components-v2)
|
||||
|
||||
Reference in New Issue
Block a user