Commit bd1aea9a authored by Deni Rinaldi's avatar Deni Rinaldi

minor parameter

parent ad5e4aec
......@@ -301,7 +301,7 @@ export default class Parameter extends Component {
setting: payload
}
console.log(resp.rows[1]);
this.setState({ payload: body, buttonError: false, judul: resp.rows[1][0] })
this.setState({ payload: body, buttonError: false, judul: resp.rows[1] === undefined ? "" : resp.rows[1][0] })
}
});
}
......
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