mirror of
https://github.com/penpot/penpot.git
synced 2025-04-03 10:31:38 -05:00
🐛 Show icon on broken color reference instead of swatch
This commit is contained in:
parent
5ce4b0a927
commit
dea866d3a3
1 changed files with 3 additions and 4 deletions
|
@ -44,14 +44,13 @@
|
|||
:on-context-menu on-context-menu
|
||||
:disabled errors?}
|
||||
(cond
|
||||
color
|
||||
[:& color-bullet {:color color
|
||||
:mini true}]
|
||||
errors?
|
||||
[:> icon*
|
||||
{:icon-id "broken-link"
|
||||
:class (stl/css :token-pill-icon)}]
|
||||
|
||||
color
|
||||
[:& color-bullet {:color color
|
||||
:mini true}]
|
||||
:else
|
||||
[:> token-status-icon*
|
||||
{:icon-id token-status-id
|
||||
|
|
Loading…
Add table
Reference in a new issue