From a952cc529d5ac35f869eb99f6e47e489f5e39ed0 Mon Sep 17 00:00:00 2001 From: Nikolaos Laskaris Date: Tue, 7 Nov 2017 13:35:31 +0200 Subject: [PATCH] added more messages --- dmp-frontend/src/app/dmps/dmp.component.ts | 6 ++++-- dmp-frontend/src/app/dmps/dmps.html | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) 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 @@ -