Skip to content

Commit

Permalink
[IMP] components: expose FigureComponent to extend chart menus
Browse files Browse the repository at this point in the history
recent changes brought by #2091 required to expose another component in
order to extend the chart menus in Odoo.

closes #2230

Signed-off-by: Lucas Lefèvre (lul) <[email protected]>
  • Loading branch information
rrahir committed Mar 16, 2023
1 parent bf20db7 commit 804bae6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { ChartJsComponent } from "./components/figures/chart/chartJs/chartjs";
import { ScorecardChart } from "./components/figures/chart/scorecard/chart_scorecard";
import { FigureComponent } from "./components/figures/figure/figure";
import { ChartFigure } from "./components/figures/figure_chart/figure_chart";
import { Grid } from "./components/grid/grid";
import { GridOverlay } from "./components/grid_overlay/grid_overlay";
Expand Down Expand Up @@ -208,6 +209,7 @@ export const components = {
GaugeChartDesignPanel,
ScorecardChartConfigPanel,
ScorecardChartDesignPanel,
FigureComponent,
};

export function addFunction(functionName: string, functionDescription: FunctionDescription) {
Expand Down

0 comments on commit 804bae6

Please sign in to comment.