Parcourir la source

[assist] Fix column listing

Johan Ahlen il y a 10 ans
Parent
commit
cedf268

+ 1 - 1
desktop/core/src/desktop/static/desktop/js/assist/assistEntry.js

@@ -48,7 +48,7 @@
     self.filter = filter;
     self.isSearchVisible = ko.observable(false);
 
-    self.expandable = typeof definition.type === "undefined" || definition.type === "struct" || definition.type === "array" || definition.type === "map";
+    self.expandable = typeof definition.type === "undefined" || /table|struct|array|map/i.test(definition.type);
 
     self.loaded = false;
     self.loading = ko.observable(false);