added more messages
This commit is contained in:
parent
be6ce2ee71
commit
a952cc529d
|
@ -112,10 +112,12 @@ export class DmpComponent implements OnInit{
|
|||
|
||||
|
||||
|
||||
getDmps(){
|
||||
getDmps(muted? : boolean){
|
||||
this.serverService.getDmpOfUser().subscribe(
|
||||
response => {
|
||||
this.tableData = response;
|
||||
if(muted && muted!=true)
|
||||
simple_notifier("success",null,"Refreshed DMPs");
|
||||
},
|
||||
(err: HttpErrorResponse) => {
|
||||
simple_notifier("danger",null,"Could not refresh DMPs");
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
<input class="form-control" [(ngModel)]="filterQuery" placeholder='Search in Labels' />
|
||||
</th>
|
||||
<th colspan="1">
|
||||
<button class="btn btn-default " (click)="getDmps()">
|
||||
<button class="btn btn-default " (click)="getDmps('false')">
|
||||
<span class="glyphicon glyphicon-refresh"></span>
|
||||
</button>
|
||||
</th>
|
||||
|
|
Loading…
Reference in New Issue