Skip to content

Commit

Permalink
Trailing blanks
Browse files Browse the repository at this point in the history
  • Loading branch information
rbrands committed Aug 13, 2020
1 parent 379dbbd commit 83d9c0a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions MeetUpPlanner/Client/Pages/Index.razor
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,9 @@
{
logMessage = "Das eingegebene Schlüsselwort ist leider falsch...";
}
AppStateStore.FirstName = AppStateStore.FirstName.Trim();
AppStateStore.LastName = AppStateStore.LastName.Trim();
AppStateStore.PhoneMail = AppStateStore.PhoneMail.Trim();
if (AppStateStore.SaveSettings)
{
// Copy from app state to permanent storage
Expand Down
3 changes: 3 additions & 0 deletions MeetUpPlanner/Client/Pages/Register.razor
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,9 @@
}
private async Task RegisterGuest()
{
_guest.ParticipantFirstName = _guest.ParticipantFirstName.Trim();
_guest.ParticipantLastName = _guest.ParticipantLastName.Trim();
_guest.ParticipantAdressInfo = _guest.ParticipantAdressInfo.Trim();
if (AppStateStore.SaveSettings)
{
// Copy from app state to permanent storage
Expand Down

0 comments on commit 83d9c0a

Please sign in to comment.