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
6cb6d98f
Commit
6cb6d98f
authored
Apr 27, 2020
by
chamath
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
S53527407 - Mobile UX - Messaging.
Message engine back button issue fixed.
parent
a8e61d72
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
message-engine.component.ts
...app/components/message-engine/message-engine.component.ts
+3
-5
No files found.
frontend/angular/src/app/components/message-engine/message-engine.component.ts
View file @
6cb6d98f
import
{
Location
}
from
'@angular/common'
;
import
{
Component
,
EventEmitter
,
Input
,
OnInit
,
Output
,
ViewChild
}
from
'@angular/core'
;
import
{
NgForm
}
from
'@angular/forms'
;
import
{
ActivatedRoute
,
Router
}
from
'@angular/router'
;
import
{
MenuItem
}
from
'primeng/api'
;
import
{
Editor
}
from
'primeng/editor'
;
import
{
FileUpload
}
from
'primeng/fileupload'
;
import
{
Subscription
}
from
'rxjs/Subscription'
;
import
{
environment
}
from
'../../../environments/environment'
;
import
{
AppService
}
from
'../../app.service'
;
import
{
ASSOCS
}
from
'../../constants'
;
import
{
ChatAttachmentModel
}
from
'../../models/chat-attachment.model'
;
...
...
@@ -21,6 +19,7 @@ import { BaseComponent } from '../admin-portal/base/base.component';
import
{
ApplicantPortalLayoutService
}
from
'../applicant-portal/applicant-portal-layout/applicant-portal-layout.service'
;
import
{
MessageEngineService
}
from
'./message-engine.service'
;
@
Component
({
selector
:
'app-message-engine'
,
templateUrl
:
'./message-engine.component.html'
,
...
...
@@ -51,8 +50,6 @@ export class MessageEngineComponent extends BaseComponent implements OnInit {
markedAsRead
:
boolean
=
false
;
constructor
(
private
router
:
Router
,
private
activatedRoute
:
ActivatedRoute
,
private
utilsService
:
UtilsService
,
private
saveService
:
SaveService
,
private
appService
:
AppService
,
...
...
@@ -65,7 +62,7 @@ export class MessageEngineComponent extends BaseComponent implements OnInit {
}
goBack
():
void
{
const
url
=
`
${
environment
.
baseUrl
}
ApplicantPortal-JobApplication.htm?cms.rm=Page&JobID=
${
this
.
jobApplicationID
}
`
;
const
url
=
`
${
environment
.
baseUrl
}
ApplicantPortal-JobApplication.htm?cms.rm=Page&JobID=
${
this
.
utilsService
.
getId
(
this
.
jobApplication
.
Job
.
ObjectID
)
}
`
;
if
(
window
.
history
.
length
>
2
)
{
const
cur_path
=
this
.
location
.
path
();
this
.
location
.
back
();
...
...
@@ -132,6 +129,7 @@ export class MessageEngineComponent extends BaseComponent implements OnInit {
this
.
createdObjs
=
{};
const
assocs
=
[
ASSOCS
.
JOB
,
ASSOCS
.
MESSAGES
,
[
ASSOCS
.
MESSAGES
,
ASSOCS
.
SENT_BY
].
join
(
'.'
),
[
ASSOCS
.
MESSAGES
,
ASSOCS
.
ATTACHMENTS
].
join
(
'.'
),
...
...
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