@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.
@@ -28064,8 +28064,15 @@ const isEmpty_isEmpty = value => {
28064
28064
  },
28065
28065
  tag() {}
28066
28066
  },
28067
+ watch: {
28068
+ disabled() {
28069
+ // load options if becomes enabled
28070
+ if (!this.disabled) this.fetchOptions();
28071
+ }
28072
+ },
28067
28073
  created() {
28068
- this.fetchOptions();
28074
+ // load options only if not disabled
28075
+ if (!this.disabled) this.fetchOptions();
28069
28076
  this.fetchOptions = scripts_debounce(this.fetchOptions, 500);
28070
28077
  }
28071
28078
  });