[INJIMOB-2051] fix Vc background not getting rendered (#1627)

Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>
This commit is contained in:
KiruthikaJeyashankar
2024-09-25 13:03:27 +05:30
committed by GitHub
parent 4e5a46f1ff
commit 90fd3b8a85

View File

@@ -147,7 +147,10 @@ export const getFieldName = (
};
export const getBackgroundColour = (wellknown: any) => {
return wellknown?.display[0]?.background_color ?? Theme.Colors.textValue;
return {
backgroundColor:
wellknown?.display[0]?.background_color ?? Theme.Colors.textValue,
};
};
export const getBackgroundImage = (wellknown: any, defaultBackground: any) => {