-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Await async modals #1901
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Await async modals #1901
Conversation
undo compiler unde compiler undo coompiler
8218649
to
2b4e753
Compare
} | ||
} | ||
await this.call('modal', 'modal', mod) | ||
else { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there isn't a hide
handle?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no need. If return is undefined it is hide, if false it is cancel but in this case they both cause the plug-in to cancel
No description provided.