diff --git a/client/src/campaigns/CUD.js b/client/src/campaigns/CUD.js index f03561a9..22039c16 100644 --- a/client/src/campaigns/CUD.js +++ b/client/src/campaigns/CUD.js @@ -608,11 +608,20 @@ export default class CUD extends Component { sendSettings = []; const addOverridable = (id, label) => { - sendSettings.push(); - - if (this.getFormValue(id + '_overriden')) { - sendSettings.push(); - } else { + if(this.state.sendConfiguration[id + '_overridable'] == 1){ + sendSettings.push(); + if (this.getFormValue(id + '_overriden')) { + sendSettings.push(); + } else { + sendSettings.push( + + {this.state.sendConfiguration[id]} + + ); + } + } + else{ + sendSettings.push(); sendSettings.push( {this.state.sendConfiguration[id]}