mirror of
https://github.com/penpot/penpot.git
synced 2025-06-07 11:21:37 +02: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
Add a link
Reference in a new issue