From d15b1b25362d6311c488b5fdd3ad7202dd449fbb Mon Sep 17 00:00:00 2001 From: Wahyu Ramadhan Date: Fri, 12 May 2023 10:27:38 +0700 Subject: [PATCH] Handling null weight --- src/views/SimproV2/CreatedProyek/ImportActivity/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/views/SimproV2/CreatedProyek/ImportActivity/index.js b/src/views/SimproV2/CreatedProyek/ImportActivity/index.js index 4661d3d..4e78542 100644 --- a/src/views/SimproV2/CreatedProyek/ImportActivity/index.js +++ b/src/views/SimproV2/CreatedProyek/ImportActivity/index.js @@ -132,6 +132,9 @@ const ImportActivity = ({ params }) => { } if(prop == 'weight'){ + if (columnData == null) { + columnData = 0; + } columnData = columnData * 100 }