Added method calls on save and download button clicks
Issue-ID: CCSDK-1135
Change-Id: Ib60b7853aaee1742bf69c8b2785f9df42e7a73dd
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
color: white;
border-radius: 2em;
padding: 0.5em;
- min-width: 6em;">Save Changes</button>
+ min-width: 6em;" (click)="updateBlueprint()">Save Changes</button>
</div>
<div style="height: 6em;
width: 100%;">
color: white;
border-radius: 2em;
padding: 0.5em;
- min-width: 6em;">Download</button>
+ min-width: 6em;" (click)="download()">Download</button>
</div>
</div>
.fileViewContainer {
width: 20%;
margin: 2px;
- height: 450px !important;
+ height: 490px !important;
overflow-x: scroll;
overflow-y: scroll;
}
.editorConatiner {
width: 80%;
background-color: gainsboro;
- height: 450px !important;
+ height: 490px !important;
}
}
}
});
- if (this.selectedFile == this.blueprintName) {
+ if (this.selectedFile == this.blueprintName.trim()) {
this.blueprint = JSON.parse(this.text);
} else {
this.blueprint = this.blueprintdata;