Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-du-car committed Jul 22, 2024
1 parent 7d9b948 commit f97b193
Showing 1 changed file with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
<TableCell
Expand Down

0 comments on commit f97b193

Please sign in to comment.