GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix: fix outline-tree initialization failed · Alvison/lowcode-engine@a2d5c6f

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • packages
    • plugin-outline-pane/src
      • main.ts
    • shell/src
      • component-meta.ts
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎packages/plugin-outline-pane/src/main.ts‎

Copy file name to clipboardExpand all lines: packages/plugin-outline-pane/src/main.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export class OutlineMain implements ISensor, ITreeBoard, IScrollable {
6060
return false;
6161
}
6262
inited = true;
63-
const designer = await editor.onceGot(Designer);
63+
const designer = await editor.onceGot('designer');
6464
this.setupDesigner(designer);
6565
};
6666

Collapse file

‎packages/shell/src/component-meta.ts‎

Copy file name to clipboardExpand all lines: packages/shell/src/component-meta.ts
+5-1Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,12 @@ export default class ComponentMeta {
117117
* @param parent
118118
* @returns
119119
*/
120-
checkNestingDown(my: Node | NodeData, target: NodeSchema | Node | NodeSchema[]) {
120+
checkNestingDown(my: Node | NodeData, target: NodeSchema | Node | NodeSchema[]) {
121121
const curNode = my.isNode ? my[nodeSymbol] : my;
122122
return this[componentMetaSymbol].checkNestingDown(curNode as any, target[nodeSymbol] || target);
123123
}
124+
125+
refreshMetadata() {
126+
this[componentMetaSymbol].refreshMetadata();
127+
}
124128
}

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.