Skip to content

Commit 54b05b1

Browse files
committed
MAGETWO-61425: Fix timeline status detection
1 parent ca2c833 commit 54b05b1

File tree

1 file changed

+2
-2
lines changed
  • app/code/Magento/Ui/view/base/web/js/timeline

1 file changed

+2
-2
lines changed

app/code/Magento/Ui/view/base/web/js/timeline/timeline.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ define([
104104
* @returns {Boolean}
105105
*/
106106
isActive: function (record) {
107-
return record.status === 1;
107+
return Number(record.status) === 1;
108108
},
109109

110110
/**
@@ -115,7 +115,7 @@ define([
115115
* @returns {Boolean}
116116
*/
117117
isUpcoming: function (record) {
118-
return record.status === 2;
118+
return Number(record.status) === 2;
119119
},
120120

121121
/**

0 commit comments

Comments
 (0)