From f1183df7496bd6c5c7ae4146cc9cc48f315e0092 Mon Sep 17 00:00:00 2001 From: "michele.artini" Date: Tue, 24 Jan 2023 10:45:59 +0100 Subject: [PATCH] sort --- .../src/app/wf-history/wf-history.component.html | 3 +-- .../src/app/wf-history/wf-history.component.ts | 12 ++---------- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/frontends/dnet-is-application/src/app/wf-history/wf-history.component.html b/frontends/dnet-is-application/src/app/wf-history/wf-history.component.html index 87576383..0630a642 100644 --- a/frontends/dnet-is-application/src/app/wf-history/wf-history.component.html +++ b/frontends/dnet-is-application/src/app/wf-history/wf-history.component.html @@ -5,7 +5,6 @@ -

Recent workflows (max {{total}}) Workflows from {{from | date:"yyyy-MM-dd HH:mm:ss"}} to {{to | @@ -18,7 +17,7 @@ Count : {{historyDatasource.filteredData.length}}

- +
diff --git a/frontends/dnet-is-application/src/app/wf-history/wf-history.component.ts b/frontends/dnet-is-application/src/app/wf-history/wf-history.component.ts index 081b5c4b..ea83eed5 100644 --- a/frontends/dnet-is-application/src/app/wf-history/wf-history.component.ts +++ b/frontends/dnet-is-application/src/app/wf-history/wf-history.component.ts @@ -8,7 +8,6 @@ import { Observable } from 'rxjs'; import { map } from 'rxjs/operators'; import { MatDialog, MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; import { KeyValue } from '../model/controller.model'; -import {LiveAnnouncer} from '@angular/cdk/a11y'; @Component({ selector: 'app-wf-history', @@ -25,7 +24,7 @@ export class WfHistoryComponent implements AfterViewInit { from: number = -1 to: number = -1 - constructor(public service: ISService, public route: ActivatedRoute, public dialog: MatDialog, private _liveAnnouncer: LiveAnnouncer) { + constructor(public service: ISService, public route: ActivatedRoute, public dialog: MatDialog) { let totalP = route.snapshot.paramMap.get('total'); let fromP = route.snapshot.queryParamMap.get('from'); @@ -59,14 +58,7 @@ export class WfHistoryComponent implements AfterViewInit { data: wf }); } - - updateSort(sortState: Sort) { - if (sortState.direction) { - this._liveAnnouncer.announce(`Sorted ${sortState.direction}ending`); - } else { - this._liveAnnouncer.announce('Sorting cleared'); - } - } + } @Component({
Process Id