@quillsql/react 2.16.87 → 2.16.88

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/index.cjs CHANGED
@@ -71155,7 +71155,7 @@ function useReport(reportIdArg, options = {}) {
71155
71155
  dashboardName: resolvedDashboardName,
71156
71156
  ...isAdmin ? { adminMode: true } : {},
71157
71157
  ...hasSectionOverride ? { section: overrides.section } : {},
71158
- ...!isPivotTable ? { columns: table.columns } : {},
71158
+ columns: isPivotTable ? chart?.columns ?? sourceReport.columns : table.columns,
71159
71159
  ...isFlatTable ? {
71160
71160
  sort: effectiveReportBuilderState.sort?.[0] ?? null
71161
71161
  } : {},
@@ -71198,6 +71198,7 @@ function useReport(reportIdArg, options = {}) {
71198
71198
  },
71199
71199
  [
71200
71200
  cacheCab,
71201
+ chart?.columns,
71201
71202
  chartVisibility.showLegend,
71202
71203
  client,
71203
71204
  dashboardNameForNewReport,
package/dist/index.js CHANGED
@@ -71363,7 +71363,7 @@ function useReport(reportIdArg, options = {}) {
71363
71363
  dashboardName: resolvedDashboardName,
71364
71364
  ...isAdmin ? { adminMode: true } : {},
71365
71365
  ...hasSectionOverride ? { section: overrides.section } : {},
71366
- ...!isPivotTable ? { columns: table.columns } : {},
71366
+ columns: isPivotTable ? chart?.columns ?? sourceReport.columns : table.columns,
71367
71367
  ...isFlatTable ? {
71368
71368
  sort: effectiveReportBuilderState.sort?.[0] ?? null
71369
71369
  } : {},
@@ -71406,6 +71406,7 @@ function useReport(reportIdArg, options = {}) {
71406
71406
  },
71407
71407
  [
71408
71408
  cacheCab,
71409
+ chart?.columns,
71409
71410
  chartVisibility.showLegend,
71410
71411
  client,
71411
71412
  dashboardNameForNewReport,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quillsql/react",
3
- "version": "2.16.87",
3
+ "version": "2.16.88",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {