superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ccwilli...@apache.org
Subject [incubator-superset] 01/01: [lint] fix undefined var in TimeTable.jsx
Date Thu, 13 Sep 2018 20:46:05 GMT
This is an automated email from the ASF dual-hosted git repository.

ccwilliams pushed a commit to branch chris--lint-no-undef
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git

commit 738f4c6cca3c70384df0290217fd19f94beff694
Author: Chris Williams <chris.williams@airbnb.com>
AuthorDate: Thu Sep 13 13:45:51 2018 -0700

    [lint] fix undefined var in TimeTable.jsx
---
 superset/assets/src/visualizations/TimeTable/TimeTable.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset/assets/src/visualizations/TimeTable/TimeTable.jsx b/superset/assets/src/visualizations/TimeTable/TimeTable.jsx
index ec85262..8ce9a7d 100644
--- a/superset/assets/src/visualizations/TimeTable/TimeTable.jsx
+++ b/superset/assets/src/visualizations/TimeTable/TimeTable.jsx
@@ -150,7 +150,7 @@ class TimeTable extends React.PureComponent {
       const { timeLag } = column;
       const totalLag = Object.keys(reversedEntries).length;
       if (timeLag > totalLag) {
-        errorMsg = `The time lag set at ${timeLag} exceeds the length of data at ${reversedData.length}.
No data available.`;
+        errorMsg = `The time lag set at ${timeLag} exceeds the length of data at ${reversedEntries.length}.
No data available.`;
       } else {
         v = reversedEntries[timeLag][valueField];
       }


Mime
View raw message