diff --git a/libs/xng-breadcrumb/src/lib/breadcrumb.service.ts b/libs/xng-breadcrumb/src/lib/breadcrumb.service.ts index 88a09cc..e390110 100644 --- a/libs/xng-breadcrumb/src/lib/breadcrumb.service.ts +++ b/libs/xng-breadcrumb/src/lib/breadcrumb.service.ts @@ -145,7 +145,7 @@ export class BreadcrumbService { activatedRouteSnapshot: ActivatedRouteSnapshot, routeLinkPrefix: string ): Breadcrumb[] | void { - if (activatedRouteSnapshot.routeConfig?.path != null) { + if (activatedRouteSnapshot.routeConfig?.path) { const breadcrumbItem = this.prepareBreadcrumbItem( activatedRouteSnapshot, routeLinkPrefix