Some bugfixes
This commit is contained in:
parent
a3983193d3
commit
8683f8c91e
6 changed files with 12 additions and 8 deletions
|
@ -74,7 +74,7 @@ export class TestSendModalDialog extends Component {
|
|||
data.sendConfigurationId = props.entity.send_configuration;
|
||||
data.campaignId = props.entity.id;
|
||||
|
||||
console.log(await axios.post(getUrl('rest/template-test-send'), data));
|
||||
await axios.post(getUrl('rest/template-test-send'), data);
|
||||
|
||||
this.clearFormStatusMessage();
|
||||
|
||||
|
|
|
@ -286,7 +286,11 @@ export default class CUD extends Component {
|
|||
}
|
||||
}
|
||||
|
||||
onFileSelected() {
|
||||
onFileSelected(evt, x) {
|
||||
if (!this.getFormValue('name') && this.csvFile.files.length > 0) {
|
||||
this.updateFormValue('name', this.csvFile.files[0].name);
|
||||
}
|
||||
|
||||
this.scheduleFormRevalidate();
|
||||
}
|
||||
|
||||
|
|
|
@ -71,7 +71,7 @@ export class TestSendModalDialog extends Component {
|
|||
data.subscriptionCid = this.getFormValue('testUser');
|
||||
data.sendConfigurationId = this.getFormValue('sendConfiguration');
|
||||
|
||||
console.log(await axios.post(getUrl('rest/template-test-send'), data));
|
||||
await axios.post(getUrl('rest/template-test-send'), data);
|
||||
|
||||
this.clearFormStatusMessage();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue