Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
C
clone_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
clone_excelso
Commits
1dade9cd
Commit
1dade9cd
authored
Aug 26, 2020
by
William Goszal
🚴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix bug di Card Activation bagian handleToken, tidak menutup spinner saat phonenumber gak diisi
parent
9fb2ced5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
CardActivation.js
view/CardActivation.js
+4
-6
No files found.
view/CardActivation.js
View file @
1dade9cd
...
@@ -94,13 +94,11 @@ class CardActivation extends React.Component {
...
@@ -94,13 +94,11 @@ class CardActivation extends React.Component {
})
})
}
}
handleToken
()
{
handleToken
()
{
this
.
setState
({
if
(
this
.
state
.
mobile_phone
==
''
)
{
spinner
:
true
,
Alert
.
alert
(
''
,
i18n
.
t
(
'inputPhoneNumber'
))
})
if
(
this
.
state
.
mobile_phone
==
''
)
{
Alert
.
alert
(
''
,
i18n
.
t
(
'inputPhoneNumber'
));
}
else
{
}
else
{
this
.
setState
({
spinner
:
true
})
let
params
=
{
let
params
=
{
session_id
:
this
.
props
.
session_id
,
session_id
:
this
.
props
.
session_id
,
mobile_phone
:
this
.
state
.
mobile_phone
mobile_phone
:
this
.
state
.
mobile_phone
...
...
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