Skip to content

Commit

Permalink
fix(table-chart): all dispatches sending field values
Browse files Browse the repository at this point in the history
  • Loading branch information
flauc committed Jan 11, 2025
1 parent 0b6138c commit 54221fa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/lib/src/table-chart/table-chart.wc.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,8 @@
const query_fields = [];
for (const dimension of active_dimensions.filter((it) => it.label !== 'value')) {
query_fields.push(dimension.label);
for (const dimension of active_dimensions.filter((it) => it.value !== 'value')) {
query_fields.push(dimension.value);
}
sql = `SELECT ${query_fields.join(', ')}
Expand Down Expand Up @@ -436,8 +436,8 @@
} else {
const query_fields = [];
for (const dimension of active_dimensions.filter((it) => it.label !== 'value')) {
query_fields.push(dimension.label);
for (const dimension of active_dimensions.filter((it) => it.value !== 'value')) {
query_fields.push(dimension.value);
}
sql = `SELECT ${query_fields.join(', ')}
Expand Down

0 comments on commit 54221fa

Please sign in to comment.