Skip to content

Commit 8dab732

Browse files
committed
add column schema
1 parent 3c82f59 commit 8dab732

File tree

1 file changed

+11
-5
lines changed
  • app/[locale]/dashboard/[entityType]/[entitySlug]/dataset/[id]/edit/charts/queries

1 file changed

+11
-5
lines changed

app/[locale]/dashboard/[entityType]/[entitySlug]/dataset/[id]/edit/charts/queries/index.ts

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,10 @@ export const getResourceChartDetails = graphql(`
3838
}
3939
chart
4040
filters {
41-
column
41+
column {
42+
id
43+
fieldName
44+
}
4245
operator
4346
value
4447
}
@@ -86,10 +89,13 @@ export const createChart = graphql(`
8689
}
8790
name
8891
filters {
89-
column
90-
operator
91-
value
92-
}
92+
column {
93+
id
94+
fieldName
95+
}
96+
operator
97+
value
98+
}
9399
options {
94100
aggregateType
95101
xAxisColumn {

0 commit comments

Comments
 (0)