UI: Fix editing widget FQN
This commit is contained in:
parent
67f12c0c2c
commit
3f187abb2f
@ -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,
|
||||||
|
|||||||
@ -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,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user