Add alert method

This commit is contained in:
nztqa 2017-11-27 19:24:06 +09:00
parent dffe3d5ade
commit 332f12ce28

View file

@ -129,8 +129,10 @@ BlazeComponent.extendComponent({
Meteor.call('sendSMTPTestEmail', (err, ret) => {
if (!err && ret) { /* eslint-disable no-console */
console.log('Success:', ret.message, ret.email);
alert('Success');
} else {
console.log('Error: Sending test email', err);
alert(err);
} /* eslint-enable no-console */
});
},