hidden add variant if theme noColor_noSize

This commit is contained in:
hamid zarghami
2025-10-27 11:58:14 +03:30
parent 19a68f7188
commit 296ede46c9
+1 -1
View File
@@ -74,7 +74,7 @@ const CategoryList: FC = () => {
</Td>
<Td text={category.description} />
<Td text=''>
{category.leaf ? <Link to={`${Pages.category.variant}${category._id}`}>
{category.leaf && category.theme !== 'noColor_noSize' ? <Link to={`${Pages.category.variant}${category._id}`}>
<Button className='h-7 text-xs w-fit px-4' label='افزودن تنوع' />
</Link> : <Lock size={20} color='#8C90A3' />}
</Td>