mirror of
https://github.com/wekan/wekan.git
synced 2025-12-22 10:20:14 +01:00
Add alert method
This commit is contained in:
parent
dffe3d5ade
commit
332f12ce28
1 changed files with 2 additions and 0 deletions
|
|
@ -129,8 +129,10 @@ BlazeComponent.extendComponent({
|
||||||
Meteor.call('sendSMTPTestEmail', (err, ret) => {
|
Meteor.call('sendSMTPTestEmail', (err, ret) => {
|
||||||
if (!err && ret) { /* eslint-disable no-console */
|
if (!err && ret) { /* eslint-disable no-console */
|
||||||
console.log('Success:', ret.message, ret.email);
|
console.log('Success:', ret.message, ret.email);
|
||||||
|
alert('Success');
|
||||||
} else {
|
} else {
|
||||||
console.log('Error: Sending test email', err);
|
console.log('Error: Sending test email', err);
|
||||||
|
alert(err);
|
||||||
} /* eslint-enable no-console */
|
} /* eslint-enable no-console */
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue