@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.
@@ -21547,7 +21547,7 @@ var isEmpty = function isEmpty(value) {
21547
21547
  getOptionLabel: function getOptionLabel(_ref) {
21548
21548
  var option = _ref.option,
21549
21549
  optionLabel = _ref.optionLabel;
21550
- if (optionLabel) return option[optionLabel];
21550
+ if (optionLabel && option[optionLabel]) return option[optionLabel];
21551
21551
 
21552
21552
  if (option.locale) {
21553
21553
  if (Array.isArray(option.locale)) return this.$tc.apply(this, _toConsumableArray(option.locale));