Skip to content

Commit

Permalink
Fix bug in AnalysisList.js (#264)
Browse files Browse the repository at this point in the history
  • Loading branch information
icedevml authored Oct 13, 2020
1 parent 20708d8 commit 5f104af
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drakcore/drakcore/frontend/src/AnalysisList.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ class AnalysisList extends Component {
}

formatTimestamp(ts) {
if (!ts) {
return "-";
}

return new Date(ts * 1000)
.toISOString()
.replace("T", " ")
Expand Down

0 comments on commit 5f104af

Please sign in to comment.