blueprintdata => {
var blueprintState: IBlueprintState = { blueprint: blueprintdata.blueprint, isLoadSuccess: blueprintdata.isLoadSuccess, isSaveSuccess: blueprintdata.isSaveSuccess, isUpdateSuccess: blueprintdata.isUpdateSuccess };
this.metadata = blueprintState.blueprint.metadata;
+ this.blueprint = blueprintState.blueprint;
let metadatavalues = [];
for (let key in this.metadata) {
if (this.metadata.hasOwnProperty(key)) {
<ng-template matStepLabel>Browse CBA Template file</ng-template>
<div class="matStepContent">
<app-search-template (cbaFile)="fileChange($event)"></app-search-template>
- <!-- <div>
+ <!-- <div>
<button mat-button matStepperNext class="matStepNextBtn">Upload</button>
</div>-->
</div>
</div>
</mat-step>
</mat-vertical-stepper>
-<button mat-button matStepperNext class="matStepNextBtn" (click)="saveBlueprintModel()">Next</button>
\ No newline at end of file
+<button mat-button matStepperNext class="matStepNextBtn">Next</button>
\ No newline at end of file
upload() {
}
- saveBlueprintModel(){
- this.blueprint.toplogyTemplates=this.topologyTemplate;
- this.blueprint.metadata= this.metaData;
- // this.store.dispatch(new CreateBlueprint(this.blueprint));
- }
+ // saveBlueprintModel(){
+ // this.blueprint.toplogyTemplates=this.topologyTemplate;
+ // this.blueprint.metadata= this.metaData;
+ // // this.store.dispatch(new CreateBlueprint(this.blueprint));
+ // }
}