Skip to content

Commit

Permalink
Update libs/xng-breadcrumb/src/lib/breadcrumb.service.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
udayvunnam authored Jan 1, 2024
1 parent c58c476 commit ef88a18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/xng-breadcrumb/src/lib/breadcrumb.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export class BreadcrumbService {
activatedRouteSnapshot: ActivatedRouteSnapshot,
routeLinkPrefix: string
): Breadcrumb[] | void {
if (`${activatedRouteSnapshot.routeConfig?.path ?? ''}`.length > 0) {
if (activatedRouteSnapshot.routeConfig?.path) {
const breadcrumbItem = this.prepareBreadcrumbItem(
activatedRouteSnapshot,
routeLinkPrefix
Expand Down

0 comments on commit ef88a18

Please sign in to comment.