We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca2c833 commit 54b05b1Copy full SHA for 54b05b1
app/code/Magento/Ui/view/base/web/js/timeline/timeline.js
@@ -104,7 +104,7 @@ define([
104
* @returns {Boolean}
105
*/
106
isActive: function (record) {
107
- return record.status === 1;
+ return Number(record.status) === 1;
108
},
109
110
/**
@@ -115,7 +115,7 @@ define([
115
116
117
isUpcoming: function (record) {
118
- return record.status === 2;
+ return Number(record.status) === 2;
119
120
121
0 commit comments