Get only draft DMPs on selecting an existing DMP at /datasetcreatewizard, fixes images on /about
This commit is contained in:
parent
61cba23bf6
commit
e29fbd4dca
|
@ -14,19 +14,13 @@
|
||||||
<h1>{{ 'ABOUT.CONTRIBUTORS'| translate}}</h1>
|
<h1>{{ 'ABOUT.CONTRIBUTORS'| translate}}</h1>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row d-flex justify-content-center">
|
||||||
<div class="col-md-5">
|
<div class="col-md-2">
|
||||||
|
|
||||||
</div>
|
|
||||||
<div class="col-md-1">
|
|
||||||
<img src="/assets/images/logo_cite.png">
|
<img src="/assets/images/logo_cite.png">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-md-1">
|
<div class="col-md-2">
|
||||||
<img src="/assets/images/logo_cite.png">
|
<img src="/assets/images/logo_cite.png">
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-5">
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -19,6 +19,7 @@ import { DatasetWizardService } from '../../../core/services/dataset-wizard/data
|
||||||
import { TranslateService } from '@ngx-translate/core';
|
import { TranslateService } from '@ngx-translate/core';
|
||||||
import { DmpService } from '../../../core/services/dmp/dmp.service';
|
import { DmpService } from '../../../core/services/dmp/dmp.service';
|
||||||
import { FormControl } from '@angular/forms/src/model';
|
import { FormControl } from '@angular/forms/src/model';
|
||||||
|
import { DmpStatus } from '../../../core/common/enum/dmp-status';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'dataset-dmp-selector-component',
|
selector: 'dataset-dmp-selector-component',
|
||||||
|
@ -75,6 +76,7 @@ export class DatasetDmpSelector extends BaseComponent implements OnInit, IBreadC
|
||||||
fields.push('asc');
|
fields.push('asc');
|
||||||
const dmpDataTableRequest: DataTableRequest<DmpCriteria> = new DataTableRequest(0, null, { fields: fields });
|
const dmpDataTableRequest: DataTableRequest<DmpCriteria> = new DataTableRequest(0, null, { fields: fields });
|
||||||
dmpDataTableRequest.criteria = new DmpCriteria();
|
dmpDataTableRequest.criteria = new DmpCriteria();
|
||||||
|
dmpDataTableRequest.criteria.status = DmpStatus.Draft;
|
||||||
dmpDataTableRequest.criteria.like = query;
|
dmpDataTableRequest.criteria.like = query;
|
||||||
|
|
||||||
return this.dmpService.getPaged(dmpDataTableRequest, "autocomplete")
|
return this.dmpService.getPaged(dmpDataTableRequest, "autocomplete")
|
||||||
|
|
Loading…
Reference in New Issue