Browse Source

UI: Fix editing widget FQN

pull/9111/head
Igor Kulikov 3 years ago
parent
commit
3f187abb2f
  1. 2
      ui-ngx/src/app/modules/dashboard/dashboard-pages.routing.module.ts
  2. 2
      ui-ngx/src/app/modules/home/components/widget/widget-component.service.ts

2
ui-ngx/src/app/modules/dashboard/dashboard-pages.routing.module.ts

@ -38,7 +38,7 @@ export class WidgetEditorDashboardResolver implements Resolve<Dashboard> {
resolve(route: ActivatedRouteSnapshot): Dashboard {
const editWidgetInfo = this.utils.editWidgetInfo;
const widget: Widget = {
typeFullFqn: 'customWidget',
typeFullFqn: 'system.customWidget',
type: editWidgetInfo.type,
title: 'My widget',
image: null,

2
ui-ngx/src/app/modules/home/components/widget/widget-component.service.ts

@ -86,7 +86,7 @@ export class WidgetComponentService {
{
widgetName: this.utils.editWidgetInfo.widgetName,
bundleAlias: 'customWidgetBundle',
fullFqn: 'customWidget',
fullFqn: 'system.customWidget',
deprecated: false,
type: this.utils.editWidgetInfo.type,
sizeX: this.utils.editWidgetInfo.sizeX,

Loading…
Cancel
Save