Commit 648cd3a1 authored by Riri Novita's avatar Riri Novita

Merge branch 'dev/riri' into 'ENV-DEV'

Issue MB

See merge request !1858
parents aac91110 aa37ad95
......@@ -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({ visibleFAM: false, visibleBudgetTahunan: true, loading: false })
this.setState({ visibleCAT: 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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment