diff --git a/dmp-frontend/src/app/dmps/dmp.component.ts b/dmp-frontend/src/app/dmps/dmp.component.ts index 624612381..8940766c1 100644 --- a/dmp-frontend/src/app/dmps/dmp.component.ts +++ b/dmp-frontend/src/app/dmps/dmp.component.ts @@ -112,10 +112,12 @@ export class DmpComponent implements OnInit{ -getDmps(){ +getDmps(muted? : boolean){ this.serverService.getDmpOfUser().subscribe( - response => { + response => { this.tableData = response; + if(muted && muted!=true) + simple_notifier("success",null,"Refreshed DMPs"); }, (err: HttpErrorResponse) => { simple_notifier("danger",null,"Could not refresh DMPs"); diff --git a/dmp-frontend/src/app/dmps/dmps.html b/dmp-frontend/src/app/dmps/dmps.html index 2bc8aa4f8..e20ac5b5e 100644 --- a/dmp-frontend/src/app/dmps/dmps.html +++ b/dmp-frontend/src/app/dmps/dmps.html @@ -10,7 +10,7 @@ -