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
494f31e4
Commit
494f31e4
authored
Sep 04, 2019
by
Adarsh K
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
default login
parent
eeaab424
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
cart.page.html
src/app/cart/cart.page.html
+1
-1
landing.page.ts
src/app/landing/landing.page.ts
+5
-0
No files found.
src/app/cart/cart.page.html
View file @
494f31e4
...
...
@@ -129,7 +129,7 @@
<p
class=
"textLeft"
>
Total Price:
</p>
</ion-col>
<ion-col>
<p
class=
"textRight"
>
AU$ 239.00
</p>
<p
class=
"textRight"
*
ngIf=
"cartService.cartTotal"
>
A$ {{cartService.cartTotal}}
</p>
</ion-col>
</ion-row>
</div>
...
...
src/app/landing/landing.page.ts
View file @
494f31e4
...
...
@@ -25,8 +25,13 @@ export class LandingPage implements OnInit {
)
{
this
.
service
.
get
(
'landing'
).
then
((
data
)
=>
{
if
(
data
===
true
)
{
const
user
=
JSON
.
parse
(
localStorage
.
getItem
(
'user'
));
if
(
user
)
{
this
.
goToPage
(
'home'
);
}
else
{
this
.
goToPage
(
'login'
);
}
}
});
}
...
...
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