Skip to content

Commit

Permalink
🐛 Fix editor crash for multiple layers (#127891)
Browse files Browse the repository at this point in the history
  • Loading branch information
dej611 authored Mar 17, 2022
1 parent e5c4bef commit b47ee8b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -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') {

0 comments on commit b47ee8b

Please sign in to comment.