Skip to content

Commit

Permalink
fix(material/reports): add Layout widget to defaultWidgetsFactory
Browse files Browse the repository at this point in the history
  • Loading branch information
peppedeka authored and trik committed Jul 29, 2021
1 parent 9112607 commit c8484d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/material/reports/widget.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ import {AjfTextWidgetComponent} from './text-widget';

const defaultWidgetsFactory = (): AjfWidgetComponentsMap => {
const defaultWidgets = {} as AjfWidgetComponentsMap;
defaultWidgets[wt.Layout] = {component: AjfLayoutWidgetComponent};
defaultWidgets[wt.PageBreak] = {component: AjfPageBreakWidgetComponent};
defaultWidgets[wt.Image] = {component: AjfImageWidgetComponent};
defaultWidgets[wt.Text] = {component: AjfTextWidgetComponent};
Expand Down

0 comments on commit c8484d1

Please sign in to comment.