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
f525b21f
Commit
f525b21f
authored
Sep 23, 2020
by
Deni Rinaldi
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'deni-dev(pc)' into 'master'
minor See merge request
!364
parents
2523da7a
015b298a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
Parameter.js
src/container/MasterData/Parameter/Parameter.js
+2
-2
UnitBisnis.js
src/container/MasterData/UnitBisnis.js
+1
-1
No files found.
src/container/MasterData/Parameter/Parameter.js
View file @
f525b21f
...
@@ -69,11 +69,11 @@ export default class Parameter extends Component {
...
@@ -69,11 +69,11 @@ export default class Parameter extends Component {
type
:
'MAX_FILE_SIZE'
type
:
'MAX_FILE_SIZE'
}
}
api
.
create
().
getAllSettingByType
(
body
).
then
(
response
=>
{
api
.
create
().
getAllSettingByType
(
body
).
then
(
response
=>
{
console
.
log
(
response
);
console
.
log
(
response
.
data
.
data
[
0
]
);
if
(
response
.
data
)
{
if
(
response
.
data
)
{
if
(
response
.
data
.
status
===
"success"
)
{
if
(
response
.
data
.
status
===
"success"
)
{
this
.
setState
({
this
.
setState
({
sizeUpload
:
response
.
data
.
data
[
0
]
.
value
===
undefined
?
"1"
:
response
.
data
.
data
[
0
].
value
sizeUpload
:
response
.
data
.
data
[
0
]
?
response
.
data
.
data
[
0
].
value
===
undefined
?
"1"
:
response
.
data
.
data
[
0
].
value
:
"1"
})
})
}
}
}
}
...
...
src/container/MasterData/UnitBisnis.js
View file @
f525b21f
...
@@ -240,7 +240,7 @@ export default class UnitBisnis extends Component {
...
@@ -240,7 +240,7 @@ export default class UnitBisnis extends Component {
if
(
response
.
data
)
{
if
(
response
.
data
)
{
if
(
response
.
data
.
status
===
"success"
)
{
if
(
response
.
data
.
status
===
"success"
)
{
this
.
setState
({
this
.
setState
({
sizeUpload
:
response
.
data
.
data
[
0
]
.
value
===
undefined
?
"1"
:
response
.
data
.
data
[
0
].
value
sizeUpload
:
response
.
data
.
data
[
0
]
?
response
.
data
.
data
[
0
].
value
===
undefined
?
"1"
:
response
.
data
.
data
[
0
].
value
:
"1"
})
})
}
}
}
}
...
...
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