@design.estate/dees-wcctools 1.0.88 → 1.0.90

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.
@@ -36558,7 +36558,6 @@ var WccDashboard2 = class extends DeesElement {
36558
36558
  this.selectedType = eventArg.detail;
36559
36559
  }}
36560
36560
  @selectedItemName=${(eventArg) => {
36561
- document.title = eventArg.detail;
36562
36561
  this.selectedItemName = eventArg.detail;
36563
36562
  }}
36564
36563
  @selectedItem=${(eventArg) => {
@@ -36611,11 +36610,15 @@ var WccDashboard2 = class extends DeesElement {
36611
36610
  }
36612
36611
  );
36613
36612
  }
36614
- async updated() {
36613
+ async updated(changedPropertiesArg) {
36615
36614
  this.domtools = await dist_ts_exports28.DomTools.setupDomTools();
36616
36615
  await this.domtools.router._handleRouteState();
36617
36616
  const storeElement = this.selectedItem;
36618
36617
  const wccFrame = this.shadowRoot.querySelector("wcc-frame");
36618
+ if (changedPropertiesArg.has("selectedItemName")) {
36619
+ document.title = this.selectedItemName;
36620
+ }
36621
+ ;
36619
36622
  if (this.selectedType === "page" && this.selectedItem) {
36620
36623
  if (typeof this.selectedItem === "function") {
36621
36624
  console.log("slotting page.");