@webitel/ui-sdk 23.12.23 → 23.12.24

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.
@@ -28287,8 +28287,15 @@ const isEmpty_isEmpty = value => {
28287
28287
  },
28288
28288
  tag() {}
28289
28289
  },
28290
+ watch: {
28291
+ disabled() {
28292
+ // load options if becomes enabled
28293
+ if (!this.disabled) this.fetchOptions();
28294
+ }
28295
+ },
28290
28296
  created() {
28291
- this.fetchOptions();
28297
+ // load options only if not disabled
28298
+ if (!this.disabled) this.fetchOptions();
28292
28299
  this.fetchOptions = scripts_debounce(this.fetchOptions, 500);
28293
28300
  }
28294
28301
  });