@design.estate/dees-wcctools 3.1.1 → 3.1.2

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.
@@ -44170,14 +44170,14 @@ var WccProperties = class extends (_a5 = DeesElement, _dashboardRef_dec3 = [n5({
44170
44170
  console.log(this.dashboardRef.selectedType);
44171
44171
  this.dashboardRef.buildUrl();
44172
44172
  }
44173
- async scheduleUpdate() {
44174
- try {
44175
- await this.createProperties();
44176
- } catch (error) {
44177
- console.error("Error creating properties:", error);
44178
- this.propertyContent = [];
44173
+ updated(changedProperties) {
44174
+ super.updated(changedProperties);
44175
+ if (changedProperties.has("selectedItem")) {
44176
+ this.createProperties().catch((error) => {
44177
+ console.error("Error creating properties:", error);
44178
+ this.propertyContent = [];
44179
+ });
44179
44180
  }
44180
- super.scheduleUpdate();
44181
44181
  }
44182
44182
  selectViewport(viewport) {
44183
44183
  this.selectedViewport = viewport;