Skip to content

Commit

Permalink
fix: truster can be created from plain with a clean configuration
Browse files Browse the repository at this point in the history
Refs: #116
  • Loading branch information
urz9999 committed Apr 29, 2021
1 parent ad7137a commit 5f7a988
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/app/managing/create-account/create-account.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,9 @@ export class CreateAccountComponent extends AntiMemLeak implements OnInit {
// Add parameters to check what to do with form data
if (this.workspace.idpUrl && this.workspace.idpUrl.length > 0) {
this.workspace.idpUrl.forEach(idp => {
this.idps.push({value: idp.id, label: idp.url});
if (idp && idp.id && idp.url) {
this.idps.push({value: idp.id, label: idp.url});
}
});
}

Expand Down

0 comments on commit 5f7a988

Please sign in to comment.