Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
Tia-dev
Project
Project
Details
Activity
Releases
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
Dida Adams Arizona
Tia-dev
Commits
f2c40ce5
Commit
f2c40ce5
authored
Apr 15, 2021
by
Riri Novita
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
token expired
parent
0a799d7b
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
394 additions
and
317 deletions
+394
-317
SubHolding.js
src/container/Laporan/SubHolding.js
+11
-0
SummaryOfTriputra.js
src/container/SummaryTriputra/SummaryOfTriputra.js
+383
-317
No files found.
src/container/Laporan/SubHolding.js
View file @
f2c40ce5
...
@@ -75,7 +75,18 @@ export default class SubHolding extends Component {
...
@@ -75,7 +75,18 @@ export default class SubHolding extends Component {
this
.
setState
({
userCompany
:
response
.
data
.
data
.
company
},
()
=>
{
this
.
setState
({
userCompany
:
response
.
data
.
data
.
company
},
()
=>
{
this
.
getCompanyActive
()
this
.
getCompanyActive
()
})
})
}
else
{
this
.
setState
({
alert
:
true
,
messageAlert
:
response
.
data
.
message
,
tipeAlert
:
'warning'
},
()
=>
{
if
(
response
.
data
.
message
.
includes
(
"Someone Logged In"
)
||
response
.
data
.
message
.
includes
(
"Token Expired"
))
{
setTimeout
(()
=>
{
localStorage
.
removeItem
(
Constant
.
TOKEN
)
window
.
location
.
reload
();
},
1000
);
}
})
}
}
}
else
{
this
.
setState
({
alert
:
true
,
messageAlert
:
response
.
problem
,
tipeAlert
:
'error'
})
}
}
}
}
})
})
...
...
src/container/SummaryTriputra/SummaryOfTriputra.js
View file @
f2c40ce5
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