diff options
author | Eltanany Shaaban <shaaban.eltanany.ext@orange.com> | 2020-12-07 12:44:16 +0200 |
---|---|---|
committer | Shaaban Ebrahim <shaaban.eltanany.ext@orange.com> | 2020-12-07 10:49:58 +0000 |
commit | 02500e451d68cf3e05bc4927bdf5ef9a3edc66e0 (patch) | |
tree | 595ff5dbf228d4f5724254789ba563035951489d /cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/action-attributes/action-attributes.component.html | |
parent | d73b612b50a5e1fe877ce31e85328fa4bdd9c944 (diff) |
fixing bugs import inputs and outputs from functions into actions
Issue-ID: CCSDK-2779
Issue-ID: CCSDK-3025
Signed-off-by: Eltanany Shaaban <shaaban.eltanany.ext@orange.com>
Change-Id: I4c43a5ad8b694ba4bc4385824197e02f379a3284
Diffstat (limited to 'cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/action-attributes/action-attributes.component.html')
-rw-r--r-- | cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/action-attributes/action-attributes.component.html | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/action-attributes/action-attributes.component.html b/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/action-attributes/action-attributes.component.html index 340ff2f48..0886a3fd3 100644 --- a/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/action-attributes/action-attributes.component.html +++ b/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/action-attributes/action-attributes.component.html @@ -475,10 +475,18 @@ <div class="list-group addedFunctionsList" id="list-tab" role="tablist"> <input type="text" class="form-control input-search-controller" placeholder="Functions"> - <div class="scrollWrapper" *ngFor="let step of steps"> - <a class="list-group-item list-group-item-action active" id="list-home-list" - data-toggle="list" href="#list-home" role="tab" aria-controls="home"><i - class="icon-resource_resolution mr-1" aria-hidden="true"></i> + <div class="scrollWrapper"> + <a [class]="steps.indexOf(step) === 0? + 'list-group-item list-group-item-action active': + 'list-group-item list-group-item-action'" [id]="step" + data-toggle="list" href="#list-home" role="tab" aria-controls="home" + *ngFor="let step of steps" > + + <i class="icon-resource_resolution mr-1" aria-hidden="true" + (click)="setInputAndOutputs( + this.designerState.template.workflows[actionName]['steps'][step]['target'] + )" + ></i> {{step}} <i class="icon-next_arrow" aria-hidden="true" (click)="setInputAndOutputs( this.designerState.template.workflows[actionName]['steps'][step]['target'] )"></i></a> @@ -535,7 +543,10 @@ <input type="text" class="form-control input-search-controller" placeholder="Functions"> <div class="scrollWrapper" *ngFor="let step of steps"> - <a class="list-group-item list-group-item-action active" id="list-home-list" + <a [class]="steps.indexOf(step) === 0? + 'list-group-item list-group-item-action active': + 'list-group-item list-group-item-action'" [id]="step" + *ngFor="let step of steps" data-toggle="list" href="#list-home" role="tab" aria-controls="home"><i class="icon-resource_resolution mr-1" aria-hidden="true"></i> {{step}} <i class="icon-next_arrow" aria-hidden="true" (click)="setInputAndOutputs( @@ -688,4 +699,4 @@ </div> </div> </div> -</div>
\ No newline at end of file +</div> |