fix url encoding issue with spaces

This commit is contained in:
Kyle Spearrin 2018-07-25 09:10:24 -04:00
parent cbc975399c
commit 695dc98010
1 changed files with 4 additions and 0 deletions

View File

@ -68,6 +68,10 @@ export class AcceptOrganizationComponent implements OnInit {
await this.stateService.save('orgInvitation', qParams); await this.stateService.save('orgInvitation', qParams);
this.email = qParams.email; this.email = qParams.email;
this.orgName = qParams.organizationName; this.orgName = qParams.organizationName;
if (this.orgName != null) {
// Fix URL encoding of space issue with Angular
this.orgName.replace(/\+/g, ' ');
}
} }
} }