Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Albin Geraud Kouatcho Nkuigwa
PSE_Projekt
Commits
9a748e47
Commit
9a748e47
authored
Jun 27, 2018
by
Janik Münzenberger
Browse files
Bugfix not logged in user
parent
cd973b5c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/app/components/email/email.component.ts
View file @
9a748e47
...
...
@@ -30,7 +30,7 @@ export class EmailComponent implements OnInit {
this
.
emailForm
=
new
FormGroup
(
{
'
email_receiver
'
:
new
FormControl
(
null
,
[
Validators
.
email
,
Validators
.
required
]),
'
email_sender
'
:
new
FormControl
(
user
.
emai
l
,
[
Validators
.
required
,
Validators
.
email
,
Validators
.
minLength
(
8
)]),
'
email_sender
'
:
new
FormControl
(
user
?
user
.
email
:
nul
l
,
[
Validators
.
required
,
Validators
.
email
,
Validators
.
minLength
(
8
)]),
'
email_message
'
:
new
FormControl
(
null
,
[
Validators
.
required
])
}
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment