Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
getme
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
amal
getme
Commits
6b7ce756
Commit
6b7ce756
authored
5 years ago
by
Arjun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ts fix
parent
02813e62
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
9 deletions
+0
-9
app.component.ts
src/app/app.component.ts
+0
-9
No files found.
src/app/app.component.ts
View file @
6b7ce756
...
...
@@ -46,10 +46,6 @@ export class AppComponent {
sec_active5
=
false
;
sec_active6
=
false
;
state
:
boolean
;
// Customer Info
// user: User;
menuw
:
number
;
userData
:
any
;
tabData
=
true
;
...
...
@@ -72,9 +68,6 @@ export class AppComponent {
private
location
:
Location
,
private
events
:
Events
)
{
setInterval
(()
=>
{
console
.
log
(
window
.
location
.
href
);
},
1000
);
this
.
state
=
true
;
this
.
initializeApp
();
this
.
subjectService
.
getLoginData
().
subscribe
(
loginData
=>
{
...
...
@@ -146,9 +139,7 @@ export class AppComponent {
'review'
];
const
currentUrl
=
this
.
router
.
url
.
split
(
'/'
);
console
.
log
(
currentUrl
);
const
index
=
restrictedUrl
.
findIndex
(
x
=>
x
===
currentUrl
[
1
]);
// console.log(currentUrl[1], index, this.state);
if
(
index
>
-
1
||
this
.
tabData
===
false
)
{
return
true
;
}
else
{
...
...
This diff is collapsed.
Click to expand it.
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