Merge of PR #641
This commit is contained in:
parent
ff9191c206
commit
b65960b528
2 changed files with 2 additions and 4 deletions
|
@ -102,9 +102,7 @@ export default class CUD extends Component {
|
|||
onChange: {
|
||||
send_configuration: ::this.onSendConfigurationChanged
|
||||
},
|
||||
onChangeBeforeValidation: {
|
||||
data_sourceCustom_type: ::this.onFormChangeBeforeValidation
|
||||
}
|
||||
onChangeBeforeValidation: ::this.onFormChangeBeforeValidation
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -572,7 +572,7 @@ async function updateWithConsistencyCheck(context, entity, content) {
|
|||
|
||||
} else if (content === Content.WITHOUT_SOURCE_CUSTOM) {
|
||||
filteredEntity.data.sourceCustom = existing.data.sourceCustom;
|
||||
await namespaceHelpers.validateMove(context, entity, existing, 'campaign', 'createCampaign', 'delete'); // XXX TB - try with entity
|
||||
await namespaceHelpers.validateMove(context, entity, existing, 'campaign', 'createCampaign', 'delete');
|
||||
|
||||
} else if (content === Content.ONLY_SOURCE_CUSTOM) {
|
||||
const data = existing.data;
|
||||
|
|
Loading…
Reference in a new issue