@bigbinary/neeto-fields-frontend 1.3.11 → 1.3.12

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.
package/dist/index.cjs.js CHANGED
@@ -814,8 +814,7 @@ var dateTimeToString = function dateTimeToString(dateTime) {
814
814
  return dateTime && dayjs(dateTime).toString() || "";
815
815
  };
816
816
  var getValueFromBool = function getValueFromBool(value) {
817
- if (value === true) return i18next.t("neetoFields.common.yes");else if (value === false) return i18next.t("neetoFields.common.no");
818
- return value;
817
+ return value === true ? i18next.t("neetoFields.common.yes") : i18next.t("neetoFields.common.no");
819
818
  };
820
819
 
821
820
  var _excluded$6 = ["name", "id", "kind", "data", "individualSubmit", "formRef", "formRefs", "disabled", "isRequiredColumnName", "isInline", "onBlur"];