mirror of
https://github.com/wekan/wekan.git
synced 2025-04-20 12:07:11 -04: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) => {
|
||||
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 */
|
||||
});
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue