diff --git a/src/component/product/settingsTab/ColorStyleConfigure.jsx b/src/component/product/settingsTab/ColorStyleConfigure.jsx index 8f73368..7d1b81e 100644 --- a/src/component/product/settingsTab/ColorStyleConfigure.jsx +++ b/src/component/product/settingsTab/ColorStyleConfigure.jsx @@ -29,8 +29,8 @@ const ColorStyleConfigure = memo(({name = 'Full Name', data, productData}) => { }) const templateResponse = colorStyleCss?.data - const currentTemUID = templateResponse?.current_template_uid - const templates = templateResponse?.templates + const currentColorUID = templateResponse?.current_colorstyle_uid + const color_styles = templateResponse?.color_styles const custom_template_name = templateResponse?.custom_template_name // console.log('data Template', templateResponse) @@ -105,25 +105,30 @@ const ColorStyleConfigure = memo(({name = 'Full Name', data, productData}) => { :
<> - {!templates?.length ? + {!color_styles?.length ?

No data Found

: - templates.map(color_style => ( + color_styles.map(color_style => (
-
-
+
+
{/*
*/} {/* {template.title}/*/} {/*
*/}

{color_style.title}

- {currentTemUID === color_style.color_style_uid ? + {currentColorUID === color_style.color_style_uid ? : - + }