Commit c0540712 authored by a.bairuha's avatar a.bairuha

update

parent 482e9445
......@@ -271,7 +271,7 @@ export default class BudgetTahunan extends Component {
if (response.data.status === "success") {
let data = []
response.data.data.map((item) => {
if ((item == this.state.latestPeriode || item > this.state.latestPeriode) && (item == this.state.lastPeriod)) {
if ((item == this.state.latestPeriode || item > this.state.latestPeriode) && (item == this.state.lastPeriod || item < this.state.lastPeriod)) {
data.push(item)
}
})
......
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