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
bd11a586
Commit
bd11a586
authored
Jun 22, 2023
by
Riri Novita
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ketinggalan Issue MB
parent
d2b3659a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
BudgetTahunan.js
src/container/BudgetTahunan/BudgetTahunan.js
+2
-3
No files found.
src/container/BudgetTahunan/BudgetTahunan.js
View file @
bd11a586
...
...
@@ -2346,7 +2346,6 @@ export default class BudgetTahunan extends Component {
if
(
response
.
data
.
status
===
'success'
)
{
if
(
type
===
"PL"
||
type
===
"DraftPL"
)
{
this
.
setState
({
visiblePL
:
false
,
visibleBudgetTahunan
:
true
,
loading
:
false
})
console
.
log
(
this
.
state
.
loading
);
}
else
if
(
type
===
"TP"
||
type
===
"DraftTP"
)
{
this
.
setState
({
visibleTP
:
false
,
visibleBudgetTahunan
:
true
,
loading
:
false
})
}
else
if
(
type
===
"BS"
||
type
===
"DraftBS"
)
{
...
...
@@ -2354,9 +2353,9 @@ export default class BudgetTahunan extends Component {
}
else
if
(
type
===
"FAM"
||
type
===
"DraftFAM"
)
{
this
.
setState
({
visibleFAM
:
false
,
visibleBudgetTahunan
:
true
,
loading
:
false
})
}
else
if
(
type
===
"CAT"
||
type
===
"DraftCAT"
)
{
this
.
setState
({
visible
FAM
:
false
,
visibleBudgetTahunan
:
true
,
loading
:
false
})
this
.
setState
({
visible
CAT
:
false
,
visibleBudgetTahunan
:
true
,
loading
:
false
})
}
else
{
this
.
setState
({
visibleBudgetTahunan
:
true
,
loading
:
false
})
this
.
setState
({
visibleBudgetTahunan
:
true
,
visiblePL
:
false
,
visibleTP
:
false
,
visibleBS
:
false
,
visibleFAM
:
false
,
visibleCAT
:
false
,
loading
:
false
})
}
this
.
getSubmission
(
type
)
}
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