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
057d2639
Commit
057d2639
authored
Mar 19, 2020
by
Chamath
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
S55069629 - Home page keep loading.
Route change for angular pages.
parent
4f487f18
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
16 additions
and
2 deletions
+16
-2
.angular-cli.json
frontend/angular/.angular-cli.json
+1
-1
package-lock.json
frontend/angular/package-lock.json
+0
-0
package.json
frontend/angular/package.json
+1
-0
admin-portal-layout.component.ts
...rtal/admin-portal-layout/admin-portal-layout.component.ts
+13
-0
environment.ts
frontend/angular/src/environments/environment.ts
+1
-1
No files found.
frontend/angular/.angular-cli.json
View file @
057d2639
...
...
@@ -6,7 +6,7 @@
"apps"
:
[
{
"root"
:
"src"
,
"outDir"
:
"
dist
"
,
"outDir"
:
"
/home/chamathkalhara/Deploy/PerformaInvestments/webapps/cmsWebApp/ng
"
,
"assets"
:
[
"assets"
,
"app/oneit/assets"
...
...
frontend/angular/package-lock.json
View file @
057d2639
This diff is collapsed.
Click to expand it.
frontend/angular/package.json
View file @
057d2639
...
...
@@ -21,6 +21,7 @@
"@angular/platform-browser"
:
"^5.2.0"
,
"@angular/platform-browser-dynamic"
:
"^5.2.0"
,
"@angular/router"
:
"^5.2.0"
,
"angular-google-tag-manager"
:
"^1.1.1"
,
"angular-tslint-rules"
:
"^1.20.1"
,
"bootstrap"
:
"3.3.7"
,
"chart.js"
:
"2.7.1"
,
...
...
frontend/angular/src/app/components/admin-portal/admin-portal-layout/admin-portal-layout.component.ts
View file @
057d2639
...
...
@@ -48,6 +48,7 @@ export class AdminPortalLayoutComponent implements OnInit, OnDestroy {
jobApplicationID
:
string
;
jobNotSaved
:
boolean
=
false
;
gotoURL
:
any
;
dataLayer
:
any
;
constructor
(
private
deviceService
:
DeviceDetectorService
,
...
...
@@ -107,6 +108,13 @@ export class AdminPortalLayoutComponent implements OnInit, OnDestroy {
this
.
jobNotSaved
=
message
.
message
;
this
.
changeDetector
.
detectChanges
();
}
}
else
if
(
message
.
name
===
'dataLayer'
)
{
if
(
message
.
message
!=
null
)
{
console
.
log
(
message
.
message
[
0
]);
this
.
dataLayer
=
message
.
message
[
0
];
console
.
log
(
message
.
message
[
0
].
userId
);
console
.
log
(
message
.
message
[
0
].
stripeId
);
}
}
}
));
...
...
@@ -241,6 +249,10 @@ export class AdminPortalLayoutComponent implements OnInit, OnDestroy {
}
menuItemClick
(
routerURL
):
void
{
if
(
!
(
routerURL
instanceof
Array
))
{
routerURL
=
[
'/admin/'
+
routerURL
];
}
if
(
this
.
jobNotSaved
)
{
this
.
gotoURL
=
routerURL
;
this
.
modalService
.
show
(
this
.
jobNotSavedModal
);
...
...
@@ -255,6 +267,7 @@ export class AdminPortalLayoutComponent implements OnInit, OnDestroy {
gotoNextPage
()
{
this
.
modalService
.
hide
(
1
);
this
.
jobNotSaved
=
false
;
this
.
router
.
navigate
(
this
.
gotoURL
);
}
...
...
frontend/angular/src/environments/environment.ts
View file @
057d2639
export
const
environment
=
{
production
:
false
,
baseUrl
:
'http://
vm4.qa03.oneit.com.au/matchd
/'
,
baseUrl
:
'http://
localhost:8080/performa
/'
,
envName
:
'QA'
,
gtmKey
:
'GTM-M6M4SW6'
};
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