diff options
author | Arundathi Patil <arundpil@in.ibm.com> | 2019-04-19 17:34:54 +0530 |
---|---|---|
committer | IBM602-PC0F1E3C\Arundathi <arundpil@in.ibm.com> | 2019-04-19 17:35:09 +0530 |
commit | 82f1f0a6156b7ca4847041f4f9140e05a37c1891 (patch) | |
tree | fc582b24cb8fc395f69a335eb2be97de3e551352 /cds-ui/client/src/app/feature-modules/resource-definition/resource-creation/resource-creation.component.html | |
parent | f812f74460b20a2ba2d4c58e45fd9463a7209769 (diff) |
Resourcedictionary-fetching resources from backend
Intgrated UI with loopback to fetch resources from backend on search
Issue-ID: CCSDK-1217
Change-Id: I4a1c30748d24079bc976f6785df39bbe60777489
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
Diffstat (limited to 'cds-ui/client/src/app/feature-modules/resource-definition/resource-creation/resource-creation.component.html')
-rw-r--r-- | cds-ui/client/src/app/feature-modules/resource-definition/resource-creation/resource-creation.component.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cds-ui/client/src/app/feature-modules/resource-definition/resource-creation/resource-creation.component.html b/cds-ui/client/src/app/feature-modules/resource-definition/resource-creation/resource-creation.component.html index c4fa67a62..9b4dbe5e1 100644 --- a/cds-ui/client/src/app/feature-modules/resource-definition/resource-creation/resource-creation.component.html +++ b/cds-ui/client/src/app/feature-modules/resource-definition/resource-creation/resource-creation.component.html @@ -26,7 +26,7 @@ <mat-step [stepControl]="step1FormGroup"> <ng-template matStepLabel>Choose Resource file</ng-template> <br> - <app-resource-template-options (options)="selectedOption($event)"></app-resource-template-options> + <app-resource-template-options (option)="selectedOption($event)"></app-resource-template-options> <br> <div> <button mat-button matStepperNext class="matStepNextBtn">Proceed</button> @@ -34,10 +34,10 @@ </mat-step> <mat-step [stepControl]="step2FormGroup"> <ng-template matStepLabel>Browse or Search Resources</ng-template> - <app-upload-resource (fileData)=upload($event)></app-upload-resource><br><br> - <app-existing-model></app-existing-model> + <app-upload-resource (fileData)=upload($event) *ngIf="selectedValue == 1"></app-upload-resource><br><br> + <app-existing-model *ngIf="selectedValue == 3"></app-existing-model> <div> - <button mat-button matStepperNext (click)="updateResourcesState()" class="matStepNextBtn">Upload</button> + <button mat-button matStepperNext (click)="updateResourcesState()" class="matStepNextBtn" *ngIf="selectedValue == 1">Upload</button> </div><br><br> <div *ngIf="showMsg"> <p class="success"><strong>File Upload Success!</strong> Please click Proceed to continue!</p> |