@cubejs-client/vue3 0.34.0 → 0.34.2
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/cubejs-client-vue3.esm.js +10 -3
- package/dist/cubejs-client-vue3.esm.js.map +1 -1
- package/dist/cubejs-client-vue3.js +10 -4
- package/dist/cubejs-client-vue3.js.map +1 -1
- package/dist/cubejs-client-vue3.umd.js +10 -4
- package/dist/cubejs-client-vue3.umd.js.map +1 -1
- package/package.json +3 -3
- package/src/QueryBuilder.js +6 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cubejs-client/vue3",
|
|
3
|
-
"version": "0.34.
|
|
3
|
+
"version": "0.34.2",
|
|
4
4
|
"engines": {},
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"src"
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@cubejs-client/core": "^0.34.
|
|
31
|
+
"@cubejs-client/core": "^0.34.2",
|
|
32
32
|
"@vue/compiler-sfc": "^3.0.11",
|
|
33
33
|
"core-js": "^3.6.5",
|
|
34
34
|
"flush-promises": "^1.0.2",
|
|
@@ -80,5 +80,5 @@
|
|
|
80
80
|
"publishConfig": {
|
|
81
81
|
"access": "public"
|
|
82
82
|
},
|
|
83
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "3b9567c2fbf19e45150a9483c69a70459c569c55"
|
|
84
84
|
}
|
package/src/QueryBuilder.js
CHANGED
|
@@ -270,7 +270,12 @@ export default {
|
|
|
270
270
|
[
|
|
271
271
|
...this.measures,
|
|
272
272
|
...this.dimensions,
|
|
273
|
-
...this.timeDimensions.
|
|
273
|
+
...this.timeDimensions.reduce((acc, { dimension, granularity }) => {
|
|
274
|
+
if (granularity !== undefined) {
|
|
275
|
+
acc.push(toOrderMember(dimension));
|
|
276
|
+
}
|
|
277
|
+
return acc;
|
|
278
|
+
}, []),
|
|
274
279
|
]
|
|
275
280
|
.map((member, index) => {
|
|
276
281
|
const id = member.name || member.id;
|