mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
🐛 Fix editor crash for multiple layers (#127891)
This commit is contained in:
parent
e5c4bef033
commit
b47ee8bc1c
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ export const getRotatingNumberVisualization = ({
|
|||
},
|
||||
|
||||
getSuggestions: ({ state, table }) => {
|
||||
if (table.columns.length > 1) {
|
||||
if (!table.columns.length || table.columns.length > 1) {
|
||||
return [];
|
||||
}
|
||||
if (state && table.changeType === 'unchanged') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue