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
81685280
Commit
81685280
authored
Dec 04, 2019
by
GD-A-150752
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test-commit-3
parent
80c3a68d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
8 deletions
+12
-8
admin-portal-layout.component.ts
...rtal/admin-portal-layout/admin-portal-layout.component.ts
+8
-8
message-engine-applicant-view.component.ts
...applicant-view/message-engine-applicant-view.component.ts
+4
-0
No files found.
frontend/angular/src/app/components/admin-portal/admin-portal-layout/admin-portal-layout.component.ts
View file @
81685280
...
...
@@ -64,16 +64,21 @@ export class AdminPortalLayoutComponent implements OnInit, OnDestroy {
this
.
subscriptions
.
push
(
this
.
iframeMsgHandlingService
.
msgReceived
.
subscribe
(
(
message
:
any
)
=>
{
if
(
!
message
||
!
message
.
name
)
{
this
.
clearMessageData
();
return
;
}
if
(
message
.
name
!==
'HiringTeamChat'
||
message
.
message
===
null
)
{
this
.
clearMessageData
();
return
;
}
if
(
message
.
name
===
'HiringTeamChat'
&&
message
.
message
===
null
)
{
this
.
jobId
=
null
;
this
.
loggedIn
=
null
;
this
.
showBubble
=
false
;
return
;
}
const
msg
=
JSON
.
parse
(
message
.
message
);
console
.
log
(
'Admin Parsed'
,
msg
);
this
.
jobId
=
msg
.
JobApplicationID
;
...
...
@@ -206,11 +211,6 @@ export class AdminPortalLayoutComponent implements OnInit, OnDestroy {
);
}
clearMessageData
():
void
{
this
.
jobId
=
null
;
this
.
loggedIn
=
null
;
}
ngOnDestroy
():
void
{
this
.
utilsService
.
unsubscribeSubscriptions
(
this
.
subscriptions
);
}
...
...
frontend/angular/src/app/components/message-engine-applicant-view/message-engine-applicant-view.component.ts
View file @
81685280
...
...
@@ -231,6 +231,10 @@ export class MessageEngineApplicantViewComponent extends BaseComponent implement
setEditorClass
():
void
{
setTimeout
(()
=>
{
if
(
!
this
.
messageEditor
)
{
return
;
}
const
editElement
=
this
.
messageEditor
.
getQuill
().
container
;
if
(
!
editElement
)
{
...
...
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