Skip to content
Snippets Groups Projects
Commit df6c675b authored by Daviti Gogshelidze's avatar Daviti Gogshelidze
Browse files

Fix lint

parent 1e64d0e0
No related branches found
No related tags found
No related merge requests found
......@@ -206,16 +206,16 @@ export class ConnectivityBrowserComponent implements AfterViewInit, OnDestroy {
this.fetching = true
this.fetchModality(size, page).subscribe((res: any) => {
this.fetchedItems.push(...res.items)
this.fetchedItems.push(...res.items)
if (res.total > size*page) {
this.getModality(100, page+1)
} else {
this.cohorts = [...new Set(this.fetchedItems.map(item => item.cohort))]
this.fetching = false
this.changeDetectionRef.detectChanges()
}
})
if (res.total > size*page) {
this.getModality(100, page+1)
} else {
this.cohorts = [...new Set(this.fetchedItems.map(item => item.cohort))]
this.fetching = false
this.changeDetectionRef.detectChanges()
}
})
}
public fetchModality = (size: number, page: number): Observable<any> => {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment