mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
fix tslint errors
This commit is contained in:
committed by
Eugenio Romano
parent
449e99d071
commit
0a7c8c99be
@@ -63,7 +63,6 @@ export class BreadcrumbComponent implements OnChanges {
|
|||||||
|
|
||||||
private checkRoot(route) {
|
private checkRoot(route) {
|
||||||
if (this.root) {
|
if (this.root) {
|
||||||
|
|
||||||
let isRoot = false;
|
let isRoot = false;
|
||||||
route = route.filter((currentElement) => {
|
route = route.filter((currentElement) => {
|
||||||
if (currentElement.name === this.root) {
|
if (currentElement.name === this.root) {
|
||||||
@@ -80,7 +79,7 @@ export class BreadcrumbComponent implements OnChanges {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
return route;
|
return route;
|
||||||
};
|
}
|
||||||
|
|
||||||
public onRoutePathClick(route: PathElementEntity, event?: Event): void {
|
public onRoutePathClick(route: PathElementEntity, event?: Event): void {
|
||||||
if (event) {
|
if (event) {
|
||||||
|
Reference in New Issue
Block a user