Browse Source

Fix handling default value

pull/2/head
Wahyu Ramadhan 1 year ago
parent
commit
62ac39ef6e
  1. 11
      src/views/SimproV2/CreatedProyek/ImportActivity/index.js

11
src/views/SimproV2/CreatedProyek/ImportActivity/index.js

@ -203,6 +203,17 @@ const ImportActivity = ({ params }) => {
}
}
if (prop == 'level') {
if (columnData == null) {
columnData = 1;
}
}
if (prop == 'name') {
if (columnData == null) {
columnData = "New Activity";
}
}
extractedRow[prop] = columnData
}

Loading…
Cancel
Save