Skip to content
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

Breadcrumb Component Not Routing #1121

Closed
J0taFerreira opened this issue Jan 11, 2024 · 1 comment
Closed

Breadcrumb Component Not Routing #1121

J0taFerreira opened this issue Jan 11, 2024 · 1 comment
Assignees
Labels
🐞 bug Something isn't working

Comments

@J0taFerreira
Copy link
Contributor

J0taFerreira commented Jan 11, 2024

Describe the bug
The breadcrumb component is not routing the user to Manage Permissions when clicked.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Add User Permission'
  2. Click on Manage Permission link present on the breadcrumb

breadcrumb-bug

Additional context
I believe the problem is the routeItem.ts file in the path of routeItems, if I'm not mistaken primevue expects an object with a "to" instead of "path".

@J0taFerreira J0taFerreira added the 🐞 bug Something isn't working label Jan 11, 2024
@J0taFerreira
Copy link
Contributor Author

J0taFerreira commented Feb 1, 2024

Primevue introduced breaking changes when vue-router support was removed from menu components in version 3.40.0.
Note: For some reason the breaking changes was not mentioned in the 3.40 changelog.

Useful links about the changes:
https://github.com/primefaces/primevue/releases/tag/3.40.0
primefaces/primevue#4739
primefaces/primevue#4633 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant