Skip to content

Commit

Permalink
Fixes #1231
Browse files Browse the repository at this point in the history
  • Loading branch information
soupette committed May 25, 2018
1 parent 5ec54d5 commit 1addba7
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ class TableRow extends React.Component {
case 'time':
case 'datetime':
case 'timestamp': {
if (value === null) {
return '-';
}

const date = value && isObject(value) && value._isAMomentObject === true ?
value :
moment(value);
Expand Down

0 comments on commit 1addba7

Please sign in to comment.