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
ac4ddec0
Commit
ac4ddec0
authored
Jul 21, 2020
by
Muhammad Usman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
career builder changes
parent
ad2fa1f5
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
0 deletions
+17
-0
education.component.ts
...r-history/career-history/education/education.component.ts
+5
-0
publish.component.ts
...areer-history/career-history/publish/publish.component.ts
+2
-0
references.component.ts
...history/career-history/references/references.component.ts
+5
-0
work-history.component.ts
...ory/career-history/work-history/work-history.component.ts
+5
-0
No files found.
frontend/angular/src/app/my-career-web/career-history/career-history/education/education.component.ts
View file @
ac4ddec0
...
...
@@ -85,6 +85,11 @@ export class EducationComponent extends BaseComponent implements OnInit {
if
(
this
.
form
.
invalid
)
{
return
this
.
helperService
.
validateAllFormFields
(
this
.
form
);
}
if
(
!
this
.
careerProfile
.
NoEducationQualification
)
{
while
(
this
.
careerProfile
.
EducationCertificates
.
length
>
0
)
{
this
.
utilsService
.
removeMultiRefObject
(
this
.
careerProfile
.
EducationCertificates
[
0
],
this
.
careerProfile
,
'EducationCertificates'
,
this
.
createdObjs
,
this
.
updatedObjs
,
this
.
deletedObjs
);
}
}
this
.
careerProfile
.
EducationCertificates
.
forEach
(
exp
=>
{
if
(
typeof
exp
.
Certification
===
'string'
)
{
const
certificate
=
new
CertificationModel
();
...
...
frontend/angular/src/app/my-career-web/career-history/career-history/publish/publish.component.ts
View file @
ac4ddec0
...
...
@@ -33,6 +33,7 @@ export class PublishComponent extends BaseComponent implements OnInit {
.
subscribe
(
response
=>
{
this
.
isLoading
=
false
;
this
.
careerProfile
=
response
;
console
.
log
(
this
.
careerProfile
);
this
.
updatedObjs
[
this
.
careerProfile
.
ObjectID
]
=
this
.
careerProfile
;
},
err
=>
{
this
.
isLoading
=
false
;
...
...
@@ -46,6 +47,7 @@ export class PublishComponent extends BaseComponent implements OnInit {
.
pipe
(
takeUntil
(
this
.
componentInView
))
.
subscribe
(
res
=>
{
this
.
isSaving
=
false
;
this
.
getCareerProfile
();
},
err
=>
{
this
.
isLoading
=
false
;
this
.
utilsService
.
handleError
(
err
);
...
...
frontend/angular/src/app/my-career-web/career-history/career-history/references/references.component.ts
View file @
ac4ddec0
...
...
@@ -87,6 +87,11 @@ export class ReferencesComponent extends BaseComponent implements OnInit {
if
(
this
.
form
.
invalid
)
{
return
this
.
helperService
.
validateAllFormFields
(
this
.
form
);
}
if
(
!
this
.
careerProfile
.
NoReference
)
{
while
(
this
.
careerProfile
.
Referees
.
length
>
0
)
{
this
.
utilsService
.
removeMultiRefObject
(
this
.
careerProfile
.
Referees
[
0
],
this
.
careerProfile
,
'Referees'
,
this
.
createdObjs
,
this
.
updatedObjs
,
this
.
deletedObjs
);
}
}
this
.
isSaving
=
true
;
this
.
personalDetailsService
.
saveProfile
(
this
.
createdObjs
,
this
.
updatedObjs
,
this
.
deletedObjs
)
.
pipe
(
takeUntil
(
this
.
componentInView
))
...
...
frontend/angular/src/app/my-career-web/career-history/career-history/work-history/work-history.component.ts
View file @
ac4ddec0
...
...
@@ -94,6 +94,11 @@ export class WorkHistoryComponent extends BaseComponent implements OnInit {
if
(
this
.
form
.
invalid
)
{
return
this
.
helperService
.
validateAllFormFields
(
this
.
form
);
}
if
(
!
this
.
careerProfile
.
NoWorkExperience
)
{
while
(
this
.
careerProfile
.
WorkExperiences
.
length
>
0
)
{
this
.
utilsService
.
removeMultiRefObject
(
this
.
careerProfile
.
WorkExperiences
[
0
],
this
.
careerProfile
,
'WorkExperiences'
,
this
.
createdObjs
,
this
.
updatedObjs
,
this
.
deletedObjs
);
}
}
this
.
careerProfile
.
WorkExperiences
.
forEach
(
exp
=>
{
exp
.
StartMonth
=
UtilsService
.
convertDateToString
(
exp
.
StartMonthField
);
exp
.
EndMonth
=
UtilsService
.
convertDateToString
(
exp
.
EndMonthField
);
...
...
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