Skip to content
This repository has been archived by the owner on Jul 15, 2021. It is now read-only.

Commit

Permalink
Merge pull request #8 from banders/master
Browse files Browse the repository at this point in the history
various minor fixes
  • Loading branch information
banders authored Jul 11, 2018
2 parents 111515b + 3590252 commit da73af9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/app/register-api/register-api.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<p>Although you may register an API without an OpenAPI specification, it is good practice for all RESTful APIs to provide a specification file in a standard format, such as the OpenAPI format.</p>

<div class="form-group">
<label class="required">Does the API have an OpenAPI specification that accessible via URL?</label>&nbsp;&nbsp;
<label class="required">Does the API have an OpenAPI specification that is accessible via URL?</label>&nbsp;&nbsp;

<div class="radio-inline">
<label>
Expand Down
4 changes: 2 additions & 2 deletions src/app/register-api/register-api.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ export class RegisterApiComponent implements OnInit {
//prepare values that will be injected into the data object but
//which need non-trivial computation
var openApiSpecUrl = this.form1.get("openApiSpecUrl").value;
var existingMetadataUrl = this.yesNoToBool(this.form2.get('hasMetadataRecord').value);
var existingMetadataUrl = this.form2.get('metadataRecordUrl').value;
var supportsHttps = this.yesNoToBool(this.form2.get("supportsHttps").value);
var supportsCors = this.yesNoToBool(this.form2.get("supportsCors").value);
var useGateway = this.yesNoToBool(this.form2.get("useGateway").value);
Expand All @@ -297,7 +297,7 @@ export class RegisterApiComponent implements OnInit {
"role": "pointOfContact",
"private": "Display"
}
var submitterContact = this.form2.get("isPrincipalContact") ?
var submitterContact = this.form2.get("isPrincipalContact").value == "yes" ?
principalContact :
{
"name": this.form2.get("submitterContactName").value,
Expand Down

0 comments on commit da73af9

Please sign in to comment.