UI: Fix editing widget FQN

This commit is contained in:
Igor Kulikov 2023-08-18 17:02:16 +03:00
parent 67f12c0c2c
commit 3f187abb2f
2 changed files with 2 additions and 2 deletions

View File

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

View File

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