diff --git a/telematic_system/telematic_apps/web_app/client/src/components/ros2_rosbag/ROS2RosbagRowItem.js b/telematic_system/telematic_apps/web_app/client/src/components/ros2_rosbag/ROS2RosbagRowItem.js index 1b99d343..43bcdbfb 100644 --- a/telematic_system/telematic_apps/web_app/client/src/components/ros2_rosbag/ROS2RosbagRowItem.js +++ b/telematic_system/telematic_apps/web_app/client/src/components/ros2_rosbag/ROS2RosbagRowItem.js @@ -43,14 +43,8 @@ const ROS2RosbagRowItem = (props) => { let isLowerCase = column.id === "process_status" || column.id === "upload_status"; value = column.id === "size" ? calFilesizes(value) : value; value = column.id === "created_by" ? createdBy : value; - value = - column.id === "created_at" - ? new Date(value).toLocaleString() - : value; - value = - column.id === "original_filename" && value.includes("/") - ? value.split("/")[value.split("/").length - 1] - : value; + value = column.id === "created_at" ? new Date(value).toLocaleString() : value; + value = column.id === "original_filename" && value.includes("/") ? value.split("/")[value.split("/").length-1]: value; return (