Handle empty rawText case
parent
73f6f286cc
commit
9d4a047ca9
|
@ -55,7 +55,7 @@ const Visualization = React.createClass({
|
|||
}
|
||||
|
||||
return {
|
||||
view: queryConfigs[activeQueryIndex].rawText ? TABLE : GRAPH,
|
||||
view: typeof queryConfigs[activeQueryIndex].rawText === 'string' ? TABLE : GRAPH,
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue