Skip to content

Commit f30887d

Browse files
author
Maxim Medinskiy
committed
MAGETWO-5824: PHP - Hide/Show Column
1 parent f391ced commit f30887d

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Ui/view/base/web/js/grid/columns

1 file changed

+1
-1
lines changed

app/code/Magento/Ui/view/base/web/js/grid/columns/date.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ define([
2121
},
2222

2323
getLabel: function (data) {
24-
return moment(data).format(this.dateFormat);
24+
return moment(data).isValid() ? moment(data).format(this.dateFormat) : '';
2525
}
2626
});
2727
});

0 commit comments

Comments
 (0)