From 60a8873d9742f8f3b84a5b87fcf40e4f34d1733f Mon Sep 17 00:00:00 2001
From: Davide Serafino <54334842+DavideSerafino95@users.noreply.github.com>
Date: Mon, 24 Aug 2020 19:24:05 +0200
Subject: [PATCH] Issue displaying date type columns on main grid
Probably caused by the Magento 2.4.0 update, it seems that using the "timezone" configuration in the date type columns results in a knockout.js error visible in console, that makes impossible to view the grid correctly. Removing it seems to work fine.
The error is the following:
"Uncaught TypeError: Unable to process binding "text: function(){return $col.getLabel($row()) }"
Message: (intermediate value).toLowerCase is not a function" in file moment-timezone-with-data.js
---
view/adminhtml/ui_component/cronjobmanager_manage_grid.xml | 4 ----
1 file changed, 4 deletions(-)
diff --git a/view/adminhtml/ui_component/cronjobmanager_manage_grid.xml b/view/adminhtml/ui_component/cronjobmanager_manage_grid.xml
index 1dffb8d3..67e0874c 100644
--- a/view/adminhtml/ui_component/cronjobmanager_manage_grid.xml
+++ b/view/adminhtml/ui_component/cronjobmanager_manage_grid.xml
@@ -206,7 +206,6 @@
- date
- Created Date
- false
- - true
@@ -218,7 +217,6 @@
- date
- Scheduled Date
- false
- - true
@@ -231,7 +229,6 @@
- date
- Executed Date
- false
- - true
@@ -243,7 +240,6 @@
- date
- Finished Date
- false
- - true