xng-breadcrumb
xng-breadcrumb copied to clipboard
Unable to setup breadcrumb for certain route paths
Hi, I have this route structure
{
path: 'feedbackChannels',
children: [
{
path: '',
component: ChannelsComponent,
resolve: {
channels: FeedbackChannelsResolve,
},
data: {
title: 'Feedback Channel',
breadcrumb: 'Feedback channels'
}
},
{
path: 'new',
component: ChannelEditComponent,
data: {
breadcrumb: 'New',
title: 'Feedback Channel'
},
resolve: {
lookupEntries: LookupEntryCollectionResolve,
sources: SourcesResolve,
}
},
],
}
Breadcrumb for ChannelsComponent component (route feedbackChannels/new) does not work, but for ChannelEditComponent works (route feedbackChannels/new). What is wrong here? I see only feedbackChannels, not my custom string Feedback channels.
Thanks, for help.
Hello 👋 @RFMV34
Thank you for raising an issue. We will investigate into the issue and get back to you as soon as possible. Please make sure you have given us as much context as possible.
Feel free to raise a PR if you can fix the issue. Check the local development guide
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hello! I have the same issue with the breadcrumb on an empty route. Does anyone know if there is any way to set breadcrumbs on the empty route? Thanks
Hi @udayvunnam. As PR for this bug is merged, do you have plans to make a new version of the lib?
@syxov thanks for the PR. The fix is released with v10.0.1
The fix in the PR is causing a lot of other issues. I am reverting this until we find a proper folution
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.