[DE PE SSE mobile] Fix Bug 59230
This commit is contained in:
parent
a1bddbb845
commit
eb6bc50a01
|
@ -61,7 +61,7 @@ const CustomColors = ({ options, customColors, isTypeColors, onColorClick, curCo
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className='palette'>
|
<div className='palette'>
|
||||||
{colors && colors.length > 0 && colors.map((color, index) => {
|
{colors && colors.length > 0 ? colors.map((color, index) => {
|
||||||
return (
|
return (
|
||||||
<a key={`dc-${index}`}
|
<a key={`dc-${index}`}
|
||||||
className={curColor && curColor === color && index === indexCurColor && !isTypeColors ? 'active' : ''}
|
className={curColor && curColor === color && index === indexCurColor && !isTypeColors ? 'active' : ''}
|
||||||
|
@ -69,7 +69,7 @@ const CustomColors = ({ options, customColors, isTypeColors, onColorClick, curCo
|
||||||
onClick={() => {onColorClick(color)}}
|
onClick={() => {onColorClick(color)}}
|
||||||
></a>
|
></a>
|
||||||
)
|
)
|
||||||
})}
|
}) : null}
|
||||||
{emptyItems.length > 0 && emptyItems}
|
{emptyItems.length > 0 && emptyItems}
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue