From f1b4663ec4c57ad3ec0689507fbd595a3701f226 Mon Sep 17 00:00:00 2001 From: ShimaginAndrey Date: Fri, 18 Jun 2021 18:07:15 +0300 Subject: [PATCH] [DE PE SSE mobile] Fix Bug 50903 --- apps/common/mobile/lib/component/ThemeColorPalette.jsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/common/mobile/lib/component/ThemeColorPalette.jsx b/apps/common/mobile/lib/component/ThemeColorPalette.jsx index 7a7dd86ad..b0637aa45 100644 --- a/apps/common/mobile/lib/component/ThemeColorPalette.jsx +++ b/apps/common/mobile/lib/component/ThemeColorPalette.jsx @@ -56,12 +56,15 @@ const CustomColors = ({ options, customColors, onColorClick, curColor }) => { >) } } + + let indexCurColor = colors.indexOf(curColor); + return (
{colors && colors.length > 0 && colors.map((color, index) => { return( {onColorClick(color)}} >