@@ -109,23 +109,25 @@ export default function SalesforceActions({
109109 return (
110110 < div className = "pos-rel" >
111111 < div className = "d-flx flx-wrp" >
112- < div style = { { display : 'flex' , flexDirection : 'column' } } >
113- < TableCheckBox
114- onChange = { e => actionHandler ( e . target . checked , 'update' ) }
115- checked = { salesforceConf ?. actions ?. update ?? false }
116- className = "wdt-200 mt-4 mr-2"
117- value = "update"
118- isInfo = { ! isPro }
119- title = { < ProFeatureTitle title = { __ ( 'Update Records' , 'bit-integrations' ) } /> }
120- subTitle = {
121- < ProFeatureSubtitle
122- title = { __ ( 'Update' , 'bit-integrations' ) }
123- subtitle = { __ ( 'Update existing salesforce records.' , 'bit-integrations' ) }
124- proVersion = "2.7.2"
125- />
126- }
127- />
128- </ div >
112+ { salesforceConf . actionName === 'contact-create' && (
113+ < div style = { { display : 'flex' , flexDirection : 'column' } } >
114+ < TableCheckBox
115+ onChange = { e => actionHandler ( e . target . checked , 'update' ) }
116+ checked = { salesforceConf ?. actions ?. update ?? false }
117+ className = "wdt-200 mt-4 mr-2"
118+ value = "update"
119+ isInfo = { ! isPro }
120+ title = { < ProFeatureTitle title = { __ ( 'Update Contact' , 'bit-integrations' ) } /> }
121+ subTitle = {
122+ < ProFeatureSubtitle
123+ title = { __ ( 'Update' , 'bit-integrations' ) }
124+ subtitle = { __ ( 'Update existing contact.' , 'bit-integrations' ) }
125+ proVersion = "2.7.2"
126+ />
127+ }
128+ />
129+ </ div >
130+ ) }
129131 { salesforceConf . actionName === 'opportunity-create' && (
130132 < div style = { { display : 'flex' , flexDirection : 'column' } } >
131133 < TableCheckBox
0 commit comments