Fix border color class names not being applied correctly (https://github.com/woocommerce/woocommerce-blocks/pull/10468)
This commit is contained in:
parent
c411137ba4
commit
76b82000b3
|
@ -50,8 +50,8 @@ function getBorderClassName( attributes: {
|
|||
: '';
|
||||
|
||||
return classnames( {
|
||||
'has-border-color': borderColor || style?.border?.color,
|
||||
borderColorClass,
|
||||
'has-border-color': !! borderColor || !! style?.border?.color,
|
||||
[ borderColorClass ]: !! borderColorClass,
|
||||
} );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue