@bigbinary/neeto-rules-frontend 2.7.0 → 2.7.1

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.
@@ -408,6 +408,14 @@ var getActionLabel = function getActionLabel(action) {
408
408
  var modifiedActionLabel = action.toLowerCase();
409
409
  return ramda.replace(/slack/g, "Slack", modifiedActionLabel);
410
410
  };
411
+ var getOptionsKey = function getOptionsKey() {
412
+ var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
413
+ return options.map(function (_ref3) {
414
+ var value = _ref3.value,
415
+ label = _ref3.label;
416
+ return "".concat(value, ":").concat(label);
417
+ }).join(",");
418
+ };
411
419
 
412
420
  var ActionPanel = function ActionPanel() {
413
421
  var _useTranslation = reactI18next.useTranslation(),
@@ -5571,8 +5579,9 @@ exports.getAllEvents = getAllEvents;
5571
5579
  exports.getFieldDetails = getFieldDetails$1;
5572
5580
  exports.getFieldDetails$1 = getFieldDetails;
5573
5581
  exports.getLogicalOperatorOptions = getLogicalOperatorOptions;
5582
+ exports.getOptionsKey = getOptionsKey;
5574
5583
  exports.getSlackChannelErrors = getSlackChannelErrors;
5575
5584
  exports.getValidationSchema = getValidationSchema;
5576
5585
  exports.getVerbOptions = getVerbOptions;
5577
5586
  exports.usePollRuleName = usePollRuleName;
5578
- //# sourceMappingURL=index-C8o4tdnQ.js.map
5587
+ //# sourceMappingURL=index-Df_k2p4V.js.map