Fixes: bug on multiple post requests
This commit is contained in:
parent
11a00ec26a
commit
bfb0e19f64
|
@ -51,7 +51,8 @@ export class DatasetListingComponent extends BaseComponent implements OnInit, IB
|
|||
const queryParams = this.route.snapshot.queryParams;
|
||||
this.dmpId = queryParams['dmpId'];
|
||||
this.status = queryParams['status'];
|
||||
this.criteria.setRefreshCallback(() => this.refresh());
|
||||
// Makes multiple post requests
|
||||
// this.criteria.setRefreshCallback(() => this.refresh());
|
||||
if (this.dmpId != null) {
|
||||
this.dmpSearchEnabled = false;
|
||||
const dmp = await this.dmpService.getSingle(this.dmpId).toPromise();
|
||||
|
|
Loading…
Reference in New Issue