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
7e1d2203
Commit
7e1d2203
authored
Aug 26, 2020
by
Wahyu Adjie Prasetyo
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
ssh://repo.cs.co.id:2222/wahyu/bahanoprek
parents
a1c138f3
c1b20389
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
4 deletions
+18
-4
Account.js
view/Account.js
+9
-2
Home.js
view/Home.js
+9
-2
No files found.
view/Account.js
View file @
7e1d2203
...
@@ -134,10 +134,17 @@ class Account extends React.Component {
...
@@ -134,10 +134,17 @@ class Account extends React.Component {
// Alert.alert(i18n.t('success'), i18n.t('alertclaimcredit'))
// Alert.alert(i18n.t('success'), i18n.t('alertclaimcredit'))
}).
catch
(
error
=>
{
}).
catch
(
error
=>
{
console
.
log
(
"failed processing claim_old_balance"
)
console
.
log
(
"failed processing claim_old_balance"
)
this
.
setState
({
spinner
:
false
})
this
.
_getProfile
()
this
.
_getProfile
()
let
response
=
error
.
response
.
data
let
response
=
error
.
response
.
data
Alert
.
alert
(
"Error"
,
response
.
msg
)
Alert
.
alert
(
"Error"
,
response
.
msg
,
[
{
text
:
'OK'
,
onPress
:
()
=>
this
.
setState
({
spinner
:
false
})
}
]
);
})
})
}
}
...
...
view/Home.js
View file @
7e1d2203
...
@@ -312,10 +312,17 @@ class Home extends React.Component {
...
@@ -312,10 +312,17 @@ class Home extends React.Component {
// Alert.alert(i18n.t('success'), i18n.t('alertclaimcredit'))
// Alert.alert(i18n.t('success'), i18n.t('alertclaimcredit'))
}).
catch
(
error
=>
{
}).
catch
(
error
=>
{
console
.
log
(
"failed processing claim_old_balance"
)
console
.
log
(
"failed processing claim_old_balance"
)
this
.
setState
({
spinner
:
false
})
this
.
_account
()
this
.
_account
()
let
response
=
error
.
response
.
data
let
response
=
error
.
response
.
data
Alert
.
alert
(
"Error"
,
response
.
msg
)
Alert
.
alert
(
"Error"
,
response
.
msg
,
[
{
text
:
'OK'
,
onPress
:
()
=>
this
.
setState
({
spinner
:
false
})
}
]
);
})
})
}
}
...
...
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