Skip to content
Snippets Groups Projects
Commit 43f3299c authored by Florent Poittevin's avatar Florent Poittevin
Browse files

fix: remove warning on breadcrumb

parent b60d255a
No related branches found
No related tags found
No related merge requests found
......@@ -95,7 +95,7 @@ export class SharedBreadcrumbPresentational extends SharedAbstractPresentational
if (route.routeConfig) {
const routeConfig = route.routeConfig;
if (isNullOrUndefined(routeConfig.data) || isNullOrUndefined(routeConfig.data[this._BREADCRUMB_KEY])) {
console.warn(`Please define the data '${this._BREADCRUMB_KEY}', for the following route ${route.toString()}`);
// console.warn(`Please define the data '${this._BREADCRUMB_KEY}', for the following route ${route.toString()}`);
return undefined;
}
return route.routeConfig.data[this._BREADCRUMB_KEY];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment