mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
DURACOM-138 Added a single line in the process-parameters.component.html, we now check if the parameters selector for the process contains at least 1 value, if not, the selector box is not shown.
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
<ng-container *ngIf="script.parameters.length > 0">
|
||||||
<div class="form-group" *ngIf="script">
|
<div class="form-group" *ngIf="script">
|
||||||
<label>{{'process.new.select-parameters' | translate}}</label>
|
<label>{{'process.new.select-parameters' | translate}}</label>
|
||||||
<ds-parameter-select
|
<ds-parameter-select
|
||||||
@@ -9,3 +10,4 @@
|
|||||||
(removeParameter)="removeParameter(i)"
|
(removeParameter)="removeParameter(i)"
|
||||||
(changeParameter)="updateParameter($event, i)"></ds-parameter-select>
|
(changeParameter)="updateParameter($event, i)"></ds-parameter-select>
|
||||||
</div>
|
</div>
|
||||||
|
</ng-container>
|
||||||
|
Reference in New Issue
Block a user