fix: disable duplicate services when only 1 product added
This commit is contained in:
@ -104,6 +104,7 @@ const ProductServicesTable: FC<Props> = ({
|
||||
{onDuplicateServices && (
|
||||
<ActionIconWithTip
|
||||
tipLabel={"Продублировать услуги"}
|
||||
disabled={dealProductsList.dealProducts.length <= 1}
|
||||
onClick={onDuplicateServices}>
|
||||
<IconCopy />
|
||||
</ActionIconWithTip>
|
||||
|
||||
Reference in New Issue
Block a user