Commit 00211b29 authored by a.bairuha's avatar a.bairuha

update issue

parent 27969e74
......@@ -205,7 +205,7 @@ export default class CreateReportItems extends Component {
api.create().getInputType().then((response) => {
// console.log(response.data)
if(response.data) {
if (response.pk) {
if (response.ok) {
if (response.data.status === 'success') {
let data = response.data.data
let inputData = data.map((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