Explorar o código

Use the namespace of the tracker in the unique name

Steven Silvester %!s(int64=8) %!d(string=hai) anos
pai
achega
7d79f65bd7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/apputils/src/layoutrestorer.ts

+ 1 - 1
packages/apputils/src/layoutrestorer.ts

@@ -251,7 +251,7 @@ class LayoutRestorer implements ILayoutRestorer {
     tracker.widgetAdded.connect((sender: any, widget: Widget) => {
       const widgetName = name(widget);
       if (widgetName) {
-        this.add(widget, widgetName);
+        this.add(widget, `${namespace}:${widgetName}`);
       }
     }, this);