diff --git a/client/src/app/ctl/config/config-manifest/config-manifest.component.ts b/client/src/app/ctl/config/config-manifest/config-manifest.component.ts index 6ea505b..b7a3037 100644 --- a/client/src/app/ctl/config/config-manifest/config-manifest.component.ts +++ b/client/src/app/ctl/config/config-manifest/config-manifest.component.ts @@ -62,8 +62,10 @@ export class ConfigManifestComponent implements OnInit { }); const checkout = this.getCheckoutRef(repo); - repoGroup.controls.checkoutLabel.setValue(checkout[0]); - repoGroup.controls.checkoutReference.setValue(checkout[1]); + if (checkout !== null) { + repoGroup.controls.checkoutLabel.setValue(checkout[0]); + repoGroup.controls.checkoutReference.setValue(checkout[1]); + } repoArray.push(repoGroup); this.selectArray.push(name); } diff --git a/client/src/app/ctl/config/config-new/config-new.component.css b/client/src/app/ctl/config/config-new/config-new.component.css index 9c0b686..c9f9cbd 100644 --- a/client/src/app/ctl/config/config-new/config-new.component.css +++ b/client/src/app/ctl/config/config-new/config-new.component.css @@ -19,3 +19,7 @@ .text-input { width: 80%; } + +mat-form-field { + width: 80%; +} diff --git a/client/src/app/ctl/config/config-new/config-new.component.html b/client/src/app/ctl/config/config-new/config-new.component.html index 7849b16..af0f19c 100644 --- a/client/src/app/ctl/config/config-new/config-new.component.html +++ b/client/src/app/ctl/config/config-new/config-new.component.html @@ -1,18 +1,171 @@