@webitel/ui-sdk 23.9.2 → 23.9.3

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.
@@ -28046,8 +28046,15 @@ const isEmpty_isEmpty = value => {
28046
28046
  },
28047
28047
  tag() {}
28048
28048
  },
28049
+ watch: {
28050
+ disabled() {
28051
+ // load options if becomes enabled
28052
+ if (!this.disabled) this.fetchOptions();
28053
+ }
28054
+ },
28049
28055
  created() {
28050
- this.fetchOptions();
28056
+ // load options only if not disabled
28057
+ if (!this.disabled) this.fetchOptions();
28051
28058
  this.fetchOptions = scripts_debounce(this.fetchOptions, 500);
28052
28059
  }
28053
28060
  });