@quillsql/react 2.16.78 → 2.16.79

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
@@ -64534,6 +64534,7 @@ function useReport(reportIdArg, options = {}) {
64534
64534
  const [chartAxisEdits, setChartAxisEdits] = (0, import_react62.useState)({});
64535
64535
  const [chartVisibilityOverrides, setChartVisibilityOverrides] = (0, import_react62.useState)({});
64536
64536
  const [client] = (0, import_react62.useContext)(ClientContext);
64537
+ const { loadDashboard } = (0, import_react62.useContext)(DashboardConfigContext);
64537
64538
  const queryClient = (0, import_react_query3.useQueryClient)();
64538
64539
  const [schemaData] = (0, import_react62.useContext)(SchemaDataContext);
64539
64540
  const { tenants, flags } = (0, import_react62.useContext)(TenantContext);
@@ -69516,6 +69517,7 @@ function useReport(reportIdArg, options = {}) {
69516
69517
  queryKey: ["quill", "dashboard-report", savedReportId],
69517
69518
  refetchType: "none"
69518
69519
  });
69520
+ await loadDashboard(dashboardNameForNewReport, true);
69519
69521
  }
69520
69522
  return resp;
69521
69523
  }, [
@@ -69528,6 +69530,7 @@ function useReport(reportIdArg, options = {}) {
69528
69530
  eventTracking,
69529
69531
  formReportName,
69530
69532
  getToken,
69533
+ loadDashboard,
69531
69534
  queryClient,
69532
69535
  resolvedXAxisField,
69533
69536
  resolvedXAxisFormat,
package/dist/index.js CHANGED
@@ -64757,6 +64757,7 @@ function useReport(reportIdArg, options = {}) {
64757
64757
  const [chartAxisEdits, setChartAxisEdits] = useState42({});
64758
64758
  const [chartVisibilityOverrides, setChartVisibilityOverrides] = useState42({});
64759
64759
  const [client] = useContext36(ClientContext);
64760
+ const { loadDashboard } = useContext36(DashboardConfigContext);
64760
64761
  const queryClient = useQueryClient2();
64761
64762
  const [schemaData] = useContext36(SchemaDataContext);
64762
64763
  const { tenants, flags } = useContext36(TenantContext);
@@ -69739,6 +69740,7 @@ function useReport(reportIdArg, options = {}) {
69739
69740
  queryKey: ["quill", "dashboard-report", savedReportId],
69740
69741
  refetchType: "none"
69741
69742
  });
69743
+ await loadDashboard(dashboardNameForNewReport, true);
69742
69744
  }
69743
69745
  return resp;
69744
69746
  }, [
@@ -69751,6 +69753,7 @@ function useReport(reportIdArg, options = {}) {
69751
69753
  eventTracking,
69752
69754
  formReportName,
69753
69755
  getToken,
69756
+ loadDashboard,
69754
69757
  queryClient,
69755
69758
  resolvedXAxisField,
69756
69759
  resolvedXAxisFormat,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quillsql/react",
3
- "version": "2.16.78",
3
+ "version": "2.16.79",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {