@webitel/ui-sdk 23.12.23 → 23.12.25

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.
@@ -28305,8 +28305,15 @@ const isEmpty_isEmpty = value => {
28305
28305
  },
28306
28306
  tag() {}
28307
28307
  },
28308
+ watch: {
28309
+ disabled() {
28310
+ // load options if becomes enabled
28311
+ if (!this.disabled) this.fetchOptions();
28312
+ }
28313
+ },
28308
28314
  created() {
28309
- this.fetchOptions();
28315
+ // load options only if not disabled
28316
+ if (!this.disabled) this.fetchOptions();
28310
28317
  this.fetchOptions = scripts_debounce(this.fetchOptions, 500);
28311
28318
  }
28312
28319
  });