Skip to content

Commit

Permalink
fix https request support
Browse files Browse the repository at this point in the history
  • Loading branch information
ralfaron committed Jul 11, 2024
1 parent 79a44bf commit d849af0
Show file tree
Hide file tree
Showing 3 changed files with 288 additions and 63 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ <h5 class="modal-title text-info">
[placeholder]="defaultName()">
<label for="intputRegisterName" translate>LABEL_NAME</label>
</div>
@if (!passwordAsEMail) {
@if (!passwordAsEMail()) {
<div class="form-floating mb-3">
<input type="password" class="form-control" id="inputRegisterPassword" [(ngModel)]="password1"
name="password1" placeholder="password">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,13 @@ export class AddEndpointFormComponent {
const name = this.validateName();
const url = this.validateUrl(this.item().value.trim());
if (name && url) {
let version = url.searchParams.get('version');
const version = url.searchParams.get('version');
url.search = '';
const endpoint: AASEndpoint = { url: url.href, name, type: this.item().type };
if (version) {
endpoint.version = version;
} else if (this.item().type === 'AAS_API') {
version = 'v3';
endpoint.version = 'v3';
}

this.modal.close(endpoint);
Expand Down
Loading

0 comments on commit d849af0

Please sign in to comment.