diff --git a/packages/project-editor/lvgl/widgets/Base.tsx b/packages/project-editor/lvgl/widgets/Base.tsx index 545bf839..0507a079 100644 --- a/packages/project-editor/lvgl/widgets/Base.tsx +++ b/packages/project-editor/lvgl/widgets/Base.tsx @@ -1575,7 +1575,7 @@ export class LVGLWidget extends Widget { const project = ProjectEditor.getProject(this); - if (runtime.wasm.assetsMap?.flowIndexes.length > 0) { + if (runtime.wasm.assetsMap?.flows.length > 0) { const page = getAncestorOfType( this, ProjectEditor.PageClass.classInfo diff --git a/packages/project-editor/lvgl/widgets/UserWidget.tsx b/packages/project-editor/lvgl/widgets/UserWidget.tsx index c25d9389..c1e04bec 100644 --- a/packages/project-editor/lvgl/widgets/UserWidget.tsx +++ b/packages/project-editor/lvgl/widgets/UserWidget.tsx @@ -456,7 +456,7 @@ export class LVGLUserWidgetWidget extends LVGLWidget { const savedUserWidgetContext = runtime.lvglCreateContext; - if (runtime.wasm.assetsMap?.flowIndexes.length > 0) { + if (runtime.wasm.assetsMap?.flows.length > 0) { const flow = runtime.wasm.assetsMap.flows[savedUserWidgetContext.pageIndex]; if (flow) {