I have an application which uses different tabs in a single page , like login page, listing and add new entry page etc. When I logout from the listing page it will navigate to login tab and an alert will show as ‘logout successfully’. The issue is that the alert message will show ahead of the navigation. Is there any way to confirm that navigation is done before the alert is showing.
@Ginjo Have you used async-await in your code? https://docs.appsmith.com/core-concepts/writing-code/javascript-promises#async-await
@dancia Sorry for the delayed reply. Issue solved by using async-await usage in the js object. Thank You.
1 Like