@longline/aqua-ui 1.0.122 → 1.0.124

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.
@@ -149,7 +149,7 @@ var Field = function (props) {
149
149
  if (hasError && validation)
150
150
  return React.createElement(Hint, { ghost: ghost, error: true }, validation);
151
151
  if (props.hint)
152
- return React.createElement(Hint, { optional: props.rules != null || !props.rules.required, ghost: ghost }, props.hint);
152
+ return React.createElement(Hint, { optional: props.rules !== null && props.rules !== undefined && !props.rules.required, ghost: ghost }, props.hint);
153
153
  return null;
154
154
  };
155
155
  var dirty = form ? form.dirty : !pristine;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@longline/aqua-ui",
3
- "version": "1.0.122",
3
+ "version": "1.0.124",
4
4
  "description": "AquaUI",
5
5
  "author": "Alexander van Oostenrijk / Longline Environment",
6
6
  "license": "Commercial",