Skip to content

Commit 85b5ed1

Browse files
MAGETWO-82809: [Backport 2.2-develop] Fix datetime type product that show current date when is empty in grids magento#11749
- Merge Pull Request magento#11749 from enriquei4/magento2:DONT-SHOW-UNSETDATE - Merged commits: 1. c93391f 2. bb3fae9
2 parents 08f0056 + bb3fae9 commit 85b5ed1

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
@@ -39,7 +39,7 @@ define([
3939
getLabel: function (value, format) {
4040
var date = moment(this._super());
4141

42-
date = date.isValid() ?
42+
date = date.isValid() && value[this.index] ?
4343
date.format(format || this.dateFormat) :
4444
'';
4545

0 commit comments

Comments
 (0)