浏览代码

[assist] Fix column listing

Johan Ahlen 10 年之前
父节点
当前提交
cedf268
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      desktop/core/src/desktop/static/desktop/js/assist/assistEntry.js

+ 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);