Explorar el Código

Use the namespace of the tracker in the unique name

Steven Silvester hace 8 años
padre
commit
7d79f65bd7
Se han modificado 1 ficheros con 1 adiciones y 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);