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
768ab406
Commit
768ab406
authored
Jan 21, 2020
by
Harsh Shah
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
S53475495 #Create Job button is no-longer disabled in the Create job process
parent
6fb97f07
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
16 deletions
+18
-16
admin-portal-layout.component.ts
...rtal/admin-portal-layout/admin-portal-layout.component.ts
+18
-16
No files found.
frontend/angular/src/app/components/admin-portal/admin-portal-layout/admin-portal-layout.component.ts
View file @
768ab406
import
{
Message
}
from
'@angular/compiler/src/i18n/i18n_ast'
;
import
{
Message
}
from
'@angular/compiler/src/i18n/i18n_ast'
;
import
{
Component
,
OnDestroy
,
OnInit
,
ViewChild
}
from
'@angular/core'
;
import
{
C
hangeDetectorRef
,
C
omponent
,
OnDestroy
,
OnInit
,
ViewChild
}
from
'@angular/core'
;
import
{
Title
}
from
'@angular/platform-browser'
;
import
{
Title
}
from
'@angular/platform-browser'
;
import
{
Router
}
from
'@angular/router'
;
import
{
Router
}
from
'@angular/router'
;
import
{
BsModalService
}
from
'ngx-bootstrap/modal'
;
import
{
BsModalService
}
from
'ngx-bootstrap/modal'
;
...
@@ -55,7 +55,8 @@ export class AdminPortalLayoutComponent implements OnInit, OnDestroy {
...
@@ -55,7 +55,8 @@ export class AdminPortalLayoutComponent implements OnInit, OnDestroy {
private
titleService
:
Title
,
private
titleService
:
Title
,
private
router
:
Router
,
private
router
:
Router
,
private
modalService
:
BsModalService
,
private
modalService
:
BsModalService
,
private
iframeMsgHandlingService
:
IframeMsgHandlingService
private
iframeMsgHandlingService
:
IframeMsgHandlingService
,
private
changeDetector
:
ChangeDetectorRef
)
{
)
{
}
}
...
@@ -67,21 +68,22 @@ export class AdminPortalLayoutComponent implements OnInit, OnDestroy {
...
@@ -67,21 +68,22 @@ export class AdminPortalLayoutComponent implements OnInit, OnDestroy {
return
;
return
;
}
}
if
(
message
.
name
===
'HiringTeamChat'
&&
message
.
message
===
null
)
{
if
(
message
.
name
===
'HiringTeamChat'
)
{
this
.
jobApplicationID
=
null
;
if
(
!
message
.
message
)
{
this
.
showBubble
=
false
;
this
.
jobApplicationID
=
null
;
this
.
showBubble
=
false
;
return
;
}
else
{
}
const
msg
=
JSON
.
parse
(
message
.
message
);
this
.
jobApplicationID
=
msg
.
JobApplicationID
;
if
(
message
.
name
!==
'HiringTeamChat'
||
message
.
message
===
null
)
{
// Show Chat bubble if message service allows
return
;
this
.
showBubble
=
true
;
}
}
else
if
(
message
.
name
===
'DisableCreateJobButton'
)
{
if
(
message
.
message
!=
this
.
createJobDisabled
)
{
this
.
createJobDisabled
=
message
.
message
;
this
.
changeDetector
.
detectChanges
();
}
}
}
const
msg
=
JSON
.
parse
(
message
.
message
);
this
.
jobApplicationID
=
msg
.
JobApplicationID
;
// Show Chat bubble if message service allows
this
.
showBubble
=
true
;
}
}
));
));
...
...
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