mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
fix: Type error
This commit is contained in:
parent
2408225ff4
commit
9beb1e71c5
1 changed files with 3 additions and 2 deletions
|
|
@ -344,8 +344,9 @@ export function getColumnsForMultipleAxes(axisType, axisSpecs, axis) {
|
|||
|
||||
for(let axisName of axisNames) {
|
||||
const columns = axis[axisName];
|
||||
if (!column[axisName]) { column[axisName] = []; }
|
||||
column[axisName] = column[axisName].concat(columns);
|
||||
if (typeof axis[axisName] === 'undefined') { continue }
|
||||
if (!column[axisName]) { column[axisName] = [] }
|
||||
column[axisName] = column[axisName].concat(columns)
|
||||
}
|
||||
|
||||
return column
|
||||
|
|
|
|||
Loading…
Reference in a new issue