Skip to content
Snippets Groups Projects
Commit fd0a4adb authored by Homada.Boumedane's avatar Homada.Boumedane
Browse files

chore(dlcm-portal): lint

lint the project files
parent 53613be1
No related branches found
No related tags found
No related merge requests found
......@@ -61,5 +61,5 @@ export class CustomMatPaginatorIntlService extends MatPaginatorIntl implements O
const startIndex = page * pageSize;
const endIndex = startIndex < length ? Math.min(startIndex + pageSize, length) : startIndex + pageSize;
return `${startIndex + 1} - ${endIndex} ${this.ofLabel} ${length}`;
};
}
}
import {ChangeDetectionStrategy, Component, EventEmitter, OnInit, Output} from "@angular/core";
import {ChangeDetectionStrategy, Component, OnInit, Output} from "@angular/core";
import {ActivatedRoute, NavigationEnd, Router} from "@angular/router";
import {ObservableUtil} from "@app/core/utils/observable.util";
import {TRANSLATE} from "@app/core/utils/translate.util";
......@@ -85,6 +85,7 @@ export class SharedBreadcrumbPresentational extends SharedAbstractPresentational
private insertParametersInPath(route: ActivatedRoute, path: string): string {
const params = route.snapshot.params;
// tslint:disable-next-line:forin
for (const key in params) {
path = path.replace(`:${key}`, params[key]);
}
......
......@@ -65,7 +65,7 @@ export class SharedSearchableMultiSelectPresentational extends SharedAbstractPre
}
propagateChange = (__: any) => {
};
}
registerOnChange(fn: any): void {
this.propagateChange = fn;
......
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