[ADF-1685] tasklist is not loading after logout

This commit is contained in:
Eugenio Romano
2017-10-06 20:28:17 +01:00
parent 9597afb3d5
commit 70182c53aa
3 changed files with 5 additions and 3 deletions

View File

@@ -215,7 +215,7 @@ export class ActivitiDemoComponent implements AfterViewInit, OnDestroy, OnInit {
this.taskPagination = { count: tasks.data.length, maxItems: this.taskPagination.maxItems, skipCount: this.taskPagination.skipCount, totalItems: tasks.total };
console.log({ count: tasks.data.length, maxItems: this.taskPagination.maxItems, skipCount: this.taskPagination.skipCount, totalItems: tasks.total });
}, (err) => {
console.log('err');
console.log('err' + err);
});
if (this.router.url.includes('processes')) {
@@ -238,6 +238,7 @@ export class ActivitiDemoComponent implements AfterViewInit, OnDestroy, OnInit {
ngOnDestroy() {
this.sub.unsubscribe();
this.taskListService.tasksList$.subscribe();
}
onTaskFilterClick(filter: FilterRepresentationModel): void {