fix bug checkbox

This commit is contained in:
hamid zarghami
2025-05-07 11:28:12 +03:30
parent 92ce6d3589
commit 0b01ee8569
+3 -1
View File
@@ -75,7 +75,7 @@ const UpdatePlan: FC = () => {
if (feature.featureType === 'boolean') { if (feature.featureType === 'boolean') {
return { return {
featureKey: feature.featureKey, featureKey: feature.featureKey,
featureValue: feature.isEnabled, featureValue: feature.featureValue,
featureType: 'boolean', featureType: 'boolean',
} }
} else { } else {
@@ -132,6 +132,8 @@ const UpdatePlan: FC = () => {
return null return null
} }
console.log(features);
return ( return (
<div className='mt-4'> <div className='mt-4'>