Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PERFORMA_REPLICA
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Muhammad Usman
PERFORMA_REPLICA
Commits
1695fee7
Commit
1695fee7
authored
Jul 03, 2020
by
chamath
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
S67558014 - Welcome message needs improvement.
Remove first name and last name when registering.
parent
cc790641
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
register.component.ts
...src/app/my-career-web/auth/register/register.component.ts
+2
-4
No files found.
frontend/angular/src/app/my-career-web/auth/register/register.component.ts
View file @
1695fee7
import
{
Component
,
ViewChild
}
from
'@angular/core'
;
import
{
NgForm
}
from
'@angular/forms'
;
import
{
Router
}
from
'@angular/router'
;
import
{
takeUntil
}
from
'rxjs/operators'
;
import
{
BaseComponent
}
from
'../../base/base.component'
;
import
{
EXTERNAL_LINKS
}
from
'../../config/constants'
;
import
{
AuthService
}
from
'../../services/auth.service'
;
import
{
HelperService
}
from
'../../services/helper.service'
;
import
{
Router
}
from
'@angular/router'
;
import
{
ToasterService
}
from
'../../services/toaster.service'
;
import
{
EXTERNAL_LINKS
}
from
'../../config/constants'
;
@
Component
({
selector
:
'app-register'
,
...
...
@@ -45,8 +45,6 @@ export class RegisterComponent extends BaseComponent {
return
this
.
hs
.
validateAllFormFields
(
this
.
form
);
}
this
.
registerForm
.
firstname
=
this
.
registerForm
.
username
.
split
(
'@'
)[
0
];
this
.
registerForm
.
lastname
=
this
.
registerForm
.
firstname
;
this
.
registerForm
.
email
=
this
.
registerForm
.
username
;
if
(
!
this
.
registerForm
.
was_referred
)
{
delete
this
.
registerForm
.
ReferralCode
;
...
...
Write
Preview
Markdown
is supported
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