diff options
Diffstat (limited to 'cds-ui')
4 files changed, 6 insertions, 6 deletions
diff --git a/cds-ui/client/src/app/common/shared/components/home/home.component.html b/cds-ui/client/src/app/common/shared/components/home/home.component.html index e23263f9a..dc0181cff 100644 --- a/cds-ui/client/src/app/common/shared/components/home/home.component.html +++ b/cds-ui/client/src/app/common/shared/components/home/home.component.html @@ -42,7 +42,7 @@ limitations under the License. <mat-toolbar color=""primary>Menu</mat-toolbar> <mat-nav-list> <a mat-list-item [routerLink]="['/blueprint']">Controlled Blueprint</a> - <a mat-list-item [routerLink]="['/resource-definition']">Data dictionory</a> + <a mat-list-item [routerLink]="['/resource-definition']">Resource Definition</a> </mat-nav-list> </mat-sidenav> diff --git a/cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.html b/cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.html index bcf2d1549..53bbc6dfa 100644 --- a/cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.html +++ b/cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.html @@ -70,7 +70,7 @@ limitations under the License. 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%;"> @@ -98,7 +98,7 @@ limitations under the License. color: white; border-radius: 2em; padding: 0.5em; - min-width: 6em;">Download</button> + min-width: 6em;" (click)="download()">Download</button> </div> </div> diff --git a/cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.scss b/cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.scss index f189af656..58f0ab85d 100644 --- a/cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.scss +++ b/cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.scss @@ -26,14 +26,14 @@ limitations under the License. .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; } } diff --git a/cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.ts b/cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.ts index 5092a698e..37ac522af 100644 --- a/cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.ts +++ b/cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.ts @@ -161,7 +161,7 @@ export class EditorComponent implements OnInit { } }); - if (this.selectedFile == this.blueprintName) { + if (this.selectedFile == this.blueprintName.trim()) { this.blueprint = JSON.parse(this.text); } else { this.blueprint = this.blueprintdata; |