xng-breadcrumb icon indicating copy to clipboard operation
xng-breadcrumb copied to clipboard

Unable to setup breadcrumb for certain route paths

Open RFMV34 opened this issue 3 years ago • 7 comments

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.

RFMV34 avatar Oct 06 '22 15:10 RFMV34

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

github-actions[bot] avatar Oct 06 '22 15:10 github-actions[bot]

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.

stale[bot] avatar Feb 04 '23 23:02 stale[bot]

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

luizagabriela avatar Apr 28 '23 07:04 luizagabriela

Hi @udayvunnam. As PR for this bug is merged, do you have plans to make a new version of the lib?

syxov avatar Oct 08 '23 17:10 syxov

@syxov thanks for the PR. The fix is released with v10.0.1

udayvunnam avatar Oct 10 '23 01:10 udayvunnam

The fix in the PR is causing a lot of other issues. I am reverting this until we find a proper folution

udayvunnam avatar Jan 01 '24 12:01 udayvunnam

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.

github-actions[bot] avatar Mar 29 '24 05:03 github-actions[bot]

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.

github-actions[bot] avatar Jun 05 '24 05:06 github-actions[bot]