qcobjects 2.5.119-beta → 2.5.120-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/VERSION +1 -1
- package/build/Component.js +4 -1
- package/package.json +1 -1
- package/public/browser/QCObjects.js +4 -1
- package/public/browser/QCObjects.js.map +2 -2
- package/public/cjs/QCObjects.cjs +4 -1
- package/public/cjs/QCObjects.cjs.map +2 -2
- package/public/esm/QCObjects.mjs +4 -1
- package/public/esm/QCObjects.mjs.map +2 -2
- package/src/Component.ts +5 -1
package/src/Component.ts
CHANGED
|
@@ -126,7 +126,11 @@ export class Component extends InheritClass implements IComponent {
|
|
|
126
126
|
});
|
|
127
127
|
const self = this;
|
|
128
128
|
|
|
129
|
-
if (typeof
|
|
129
|
+
if (typeof name !== "undefined"){
|
|
130
|
+
self.name = name;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
if (typeof self.name === "undefined" && typeof name === "undefined") {
|
|
130
134
|
logger.warn("A name is not defined for " + __getType__(self));
|
|
131
135
|
}
|
|
132
136
|
|