Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
N
new_excelso
Project
Project
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
Prasetya Saputra
new_excelso
Commits
11922b99
Commit
11922b99
authored
Oct 02, 2020
by
Trisno
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
matikan mode delivery jika belum selesai pilih alamat
parent
deed170a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
Home.js
view/Home.js
+4
-4
ShoppingCart.js
view/ShoppingCart.js
+4
-4
No files found.
view/Home.js
View file @
11922b99
...
@@ -282,10 +282,10 @@ class Home extends React.Component {
...
@@ -282,10 +282,10 @@ class Home extends React.Component {
}
}
_delivery
()
{
_delivery
()
{
let
typeProps
=
{
//
let typeProps = {
type_pickup
:
false
,
//
type_pickup: false,
}
//
}
this
.
props
.
setTypePickup
(
typeProps
);
//
this.props.setTypePickup(typeProps);
this
.
props
.
navigation
.
navigate
(
'Delivery Address'
,
{
from
:
'home'
});
this
.
props
.
navigation
.
navigate
(
'Delivery Address'
,
{
from
:
'home'
});
}
}
...
...
view/ShoppingCart.js
View file @
11922b99
...
@@ -173,10 +173,10 @@ class ShoppingCart extends React.Component {
...
@@ -173,10 +173,10 @@ class ShoppingCart extends React.Component {
balanceused
:
0
balanceused
:
0
})
})
let
typeProps
=
{
//
let typeProps = {
type_pickup
:
false
,
//
type_pickup: false,
}
//
}
this
.
props
.
setTypePickup
(
typeProps
);
//
this.props.setTypePickup(typeProps);
this
.
props
.
navigation
.
navigate
(
"Delivery Address"
,
{
from
:
'shoppingCart'
})
this
.
props
.
navigation
.
navigate
(
"Delivery Address"
,
{
from
:
'shoppingCart'
})
}
else
{
}
else
{
...
...
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