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.
@@ -2482,7 +2482,10 @@ var init_Component = __esm({
2482
2482
  view
2483
2483
  });
2484
2484
  const self2 = this;
2485
- if (typeof self2.name === "undefined") {
2485
+ if (typeof name !== "undefined") {
2486
+ self2.name = name;
2487
+ }
2488
+ if (typeof self2.name === "undefined" && typeof name === "undefined") {
2486
2489
  logger.warn("A name is not defined for " + __getType__(self2));
2487
2490
  }
2488
2491
  self2.routingWay = CONFIG.get("routingWay");