mirror of
https://github.com/penpot/penpot.git
synced 2025-03-13 16:21:57 -05:00
🐛 Do not show 'Add annotation' menu entry for components with annotation
This commit is contained in:
parent
07bc5d911b
commit
08c69e751d
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue