mirror of
https://github.com/penpot/penpot.git
synced 2025-03-15 17:21:17 -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)
|
local-component? (= library-id current-file-id)
|
||||||
component (find-component shape)
|
component (find-component shape)
|
||||||
lacks-annotation? (nil? (:annotation shape))
|
lacks-annotation? (nil? (:annotation component))
|
||||||
is-dangling? (nil? component)
|
is-dangling? (nil? component)
|
||||||
|
|
||||||
can-update-main? (or (not components-v2)
|
can-update-main? (or (not components-v2)
|
||||||
|
|
Loading…
Add table
Reference in a new issue