@webitel/ui-sdk 2.1.18 → 2.1.20

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.
@@ -21529,7 +21529,7 @@ var isEmpty = function isEmpty(value) {
21529
21529
  getOptionLabel: function getOptionLabel(_ref) {
21530
21530
  var option = _ref.option,
21531
21531
  optionLabel = _ref.optionLabel;
21532
- if (optionLabel) return option[optionLabel];
21532
+ if (optionLabel && option[optionLabel]) return option[optionLabel];
21533
21533
 
21534
21534
  if (option.locale) {
21535
21535
  if (Array.isArray(option.locale)) return this.$tc.apply(this, _toConsumableArray(option.locale));