|
|
|
@ -254,7 +254,7 @@ const Index = () => {
|
|
|
|
|
<div className={stylesHead.img} style={{ cursor:imageProfile ? 'pointer' : '' }} onClick={imageProfile ? () => handleImageClick() : ''}> |
|
|
|
|
<img className={stylesHead.obejct11} src={ |
|
|
|
|
imageProfile ? ( |
|
|
|
|
`${BASE_SIMPRO_LUMEN_IMAGE_COMPANY(imageProfile?.image, role != 'Super Admin' ? configApp.company_name : 'undifined')}` |
|
|
|
|
`${BASE_SIMPRO_LUMEN_IMAGE_COMPANY(imageProfile?.image, role != 'Super Admin' ? configApp?.company_name : 'undifined', moment(imageProfile?.created_at).format('YYYY-MM'))}` |
|
|
|
|
) : profile |
|
|
|
|
} /> |
|
|
|
|
</div> |
|
|
|
@ -416,7 +416,7 @@ const Index = () => {
|
|
|
|
|
<img |
|
|
|
|
src={ |
|
|
|
|
imageProfile ? ( |
|
|
|
|
`${BASE_SIMPRO_LUMEN_IMAGE_COMPANY(imageProfile?.image, role != 'Super Admin' ? configApp.company_name : 'undifined')}` |
|
|
|
|
`${BASE_SIMPRO_LUMEN_IMAGE_COMPANY(imageProfile?.image, role != 'Super Admin' ? configApp?.company_name : 'undifined', moment(imageProfile?.created_at).format('YYYY-MM'))}` |
|
|
|
|
) : profile |
|
|
|
|
} |
|
|
|
|
style={{ maxWidth: "100%" }} |
|
|
|
|