File undefined issue fix 64/78564/2
authorEzhilarasi <ezhrajam@in.ibm.com>
Fri, 15 Feb 2019 14:43:13 +0000 (20:13 +0530)
committerEzhilarasi R <ezhrajam@in.ibm.com>
Fri, 15 Feb 2019 16:51:28 +0000 (16:51 +0000)
Import file issue in Select template fix
Change-Id: I6131262ec0818ca20addad007fa600f8c43084da
Issue-ID: CCSDK-703
Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
cds-ui/client/src/app/feature-modules/blueprint/select-template/select-template.component.html
cds-ui/client/src/app/feature-modules/blueprint/select-template/select-template.component.scss
cds-ui/client/src/app/feature-modules/blueprint/select-template/select-template.component.ts

index a9c6042..f0a3832 100644 (file)
@@ -21,25 +21,29 @@ limitations under the License.
 <mat-vertical-stepper linear>
     <mat-step [stepControl]="step1FormGroup">
         <ng-template matStepLabel>Choose CBA Template file</ng-template>
-        <app-template-options></app-template-options>
-        <br>
-        <div>
-            <button mat-button matStepperNext class="matStepNextBtn">Proceed</button>
+        <div class="matStepContent">
+            <app-template-options></app-template-options>
+            <br>
+            <div>
+                <button mat-button matStepperNext class="matStepNextBtn">Proceed</button>
+            </div>
         </div>
     </mat-step>
 
     <mat-step [stepControl]="step2FormGroup">
         <ng-template matStepLabel>Browse CBA Template file</ng-template>
-        <app-search-template (cbaFile)="fileChange($event)"></app-search-template>
-        <br>
-        <div>
-            <button mat-button matStepperNext class="matStepNextBtn">Upload</button>
+        <div class="matStepContent">
+            <app-search-template (cbaFile)="fileChange($event)"></app-search-template>
+           <!-- <div>
+                <button mat-button matStepperNext class="matStepNextBtn">Upload</button>
+            </div>-->
         </div>
     </mat-step>
     <mat-step [stepControl]="step3FormGroup">
         <ng-template matStepLabel>Enter Metadata details</ng-template>
-        <app-metadata (metadataform)="metaDataDetail($event)"></app-metadata>
-        <br>
+        <div class="matStepContent">
+            <app-metadata (metadataform)="metaDataDetail($event)"></app-metadata>
+        </div>
     </mat-step>
 </mat-vertical-stepper>
 <button mat-button matStepperNext class="matStepNextBtn" (click)="saveBlueprintModel()">Next</button>
\ No newline at end of file
index 091dd35..431b734 100644 (file)
@@ -40,7 +40,7 @@ export class SelectTemplateComponent implements OnInit {
   importModel: IImportModel;
 
   constructor(private store: Store<IBlueprintState>) {
-    this.importModel.file = '';
+    // this.importModel.file = '';
   }
 
   ngOnInit() {