diff options
author | 2020-12-03 17:03:10 +0200 | |
---|---|---|
committer | 2020-12-03 17:03:10 +0200 | |
commit | eafc8865d856cc282e0e0845c67ff232b1a5b805 (patch) | |
tree | 7a1f996fc36c17053456ebb14be861a5283b8d39 /cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/action-attributes | |
parent | d578a475277774517207c96772e221e81b6c5d25 (diff) |
add Enrich&Deploy function in designer
Issue-ID: CCSDK-2900
Signed-off-by: Ahmedeldeeb50 <ahmed.eldeeb.ext@orange.com>
Change-Id: I098fc6bbb35953fbf3728b3863e7990918305edb
Diffstat (limited to 'cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/action-attributes')
-rw-r--r-- | cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/action-attributes/action-attributes.component.html | 14 |
1 files changed, 7 insertions, 7 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 415179735..340ff2f48 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 @@ -326,7 +326,7 @@ </span> <input type="radio" name="options" [id]="suggestedAttribute+'.,.'" autocomplete="off" - [checked]="suggestedAttributes[0].includes(suggestedAttribute)"> + [checked]="suggestedAttributes[0]?.includes(suggestedAttribute)"> {{suggestedAttribute}} <i class="icon-required-star" type="button" aria-hidden="true"></i> @@ -358,7 +358,7 @@ <input type="radio" name="options" [id]="suggestedArtifact" autocomplete="off" (click)="addArtifactFile(suggestedArtifact)" - [checked]="currentArtifacts[0].includes(suggestedArtifact)"> + [checked]="currentArtifacts[0]?.includes(suggestedArtifact)"> {{suggestedArtifact}} </label> @@ -389,7 +389,7 @@ --> <input type="radio" name="options" [id]="suggestedMappingParameter" autocomplete="off" (click)="addSuggestedMappingParameter(suggestedMappingParameter)" - [checked]="suggestedMappingParameters[0].includes(suggestedMappingParameter)"> + [checked]="suggestedMappingParameters[0]?.includes(suggestedMappingParameter)"> {{suggestedMappingParameter}} </label> @@ -645,17 +645,17 @@ <div class="col-sm-9"> <div class="list-group list-group-horizontal"> <button type="button" class="list-group-item list-group-item-action" - [className]="suggestedEditedAttribute.type.includes('string')?'' + + [className]="suggestedEditedAttribute?.type?.includes('string')?'' + 'list-group-item list-group-item-action active':'list-group-item list-group-item-action'">String </button> <button type="button" class="list-group-item list-group-item-action" - [className]="suggestedEditedAttribute.type.includes('integer')?'' + + [className]="suggestedEditedAttribute?.type?.includes('integer')?'' + ' list-group-item list-group-item-action active':'list-group-item list-group-item-action'">Integer</button> <button type="button" class="list-group-item list-group-item-action" - [className]="suggestedEditedAttribute.type.includes('boolean')?'' + + [className]="suggestedEditedAttribute?.type?.includes('boolean')?'' + 'list-group-item list-group-item-action active':'list-group-item list-group-item-action'">Boolean</button> <button type="button" class="list-group-item list-group-item-action" - [className]="suggestedEditedAttribute.type.includes('list')?'' + + [className]="suggestedEditedAttribute?.type?.includes('list')?'' + 'list-group-item list-group-item-action active':'list-group-item list-group-item-action'">List</button> <button type="button" class="list-group-item list-group-item-action">Other </button> |