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