Michel Tank

Results 2 comments of Michel Tank

I found the problem, need to pass the second param to "then": dont works: ` dialog.result.then((result) => { console.log(result); });` works: ` dialog.result.then((result) => { console.log(result); }, () => console.log('Rejected!'));`