no message
This commit is contained in:
parent
db72ca982d
commit
edde3cb050
|
@ -58,7 +58,9 @@ export class DatasetListingComponent implements OnInit {
|
|||
this.criteria.setCriteria(this.getDefaultCriteria(this.dmpId));
|
||||
this.refresh();
|
||||
this.criteria.setRefreshCallback(() => this.refresh());
|
||||
if (this.dmpId != null) this.titlePrefix ="for " + params['dmpLabel'];
|
||||
if (this.dmpId != null)
|
||||
if(params['dmpLabel']!=undefined)
|
||||
this.titlePrefix ="for " + params['dmpLabel'];
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -56,8 +56,10 @@ export class DatasetWizardListingComponent implements OnInit {
|
|||
|
||||
|
||||
ngOnInit() {
|
||||
this.route.params.subscribe((params: Params) => {
|
||||
if (this.dmpId != null) this.titlePrefix ="for " + params['dmpLabel'];
|
||||
this.route.params.subscribe((params: Params) => {debugger;
|
||||
if (this.dmpId != null)
|
||||
if(params['dmpLabel']!=undefined)
|
||||
this.titlePrefix ="for " + params['dmpLabel'];
|
||||
});
|
||||
let request: DataTableRequest<DatasetCriteria> = new DataTableRequest<DatasetCriteria>(null, null, null);
|
||||
request.criteria = new DatasetCriteria();
|
||||
|
|
Loading…
Reference in New Issue