@malloydata/render 0.0.100-dev231106210358 → 0.0.100-dev231107154720
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/html/table.js +1 -3
- package/package.json +2 -2
package/dist/html/table.js
CHANGED
|
@@ -81,9 +81,7 @@ class FlattenedColumnField {
|
|
|
81
81
|
}
|
|
82
82
|
function shouldFlattenField(field) {
|
|
83
83
|
const { tag } = field.tagParse();
|
|
84
|
-
return
|
|
85
|
-
tag.has('flatten') &&
|
|
86
|
-
field.structDef.structSource.type === 'inline');
|
|
84
|
+
return field.isExploreField() && tag.has('flatten') && field.isRecord;
|
|
87
85
|
}
|
|
88
86
|
class HTMLTableRenderer extends container_1.ContainerRenderer {
|
|
89
87
|
constructor() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@malloydata/render",
|
|
3
|
-
"version": "0.0.100-
|
|
3
|
+
"version": "0.0.100-dev231107154720",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"build-storybook": "storybook build"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@malloydata/malloy": "^0.0.100-
|
|
26
|
+
"@malloydata/malloy": "^0.0.100-dev231107154720",
|
|
27
27
|
"@types/luxon": "^2.4.0",
|
|
28
28
|
"lodash": "^4.17.20",
|
|
29
29
|
"luxon": "^2.4.0",
|