Skip to content

Cannot read property 'reusedRoute' of undefined. #892

@jogboms

Description

@jogboms

I'm trying to navigate to a different route if the back button is pressed to a component.

this.page.on('navigatingTo', (args: NavigatedData) => {
		if(args.isBackNavigation) {
			this.router.navigateByUrl('/', { clearHistory: true });
		}
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions