@vizzly/dashboard 0.15.0-dev-3d599f1049eba812c1f45d1985540f920617733b → 0.15.0-dev-0618e6a45c18ec7cb9032ac19523c62e7bdeccaf
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.
|
@@ -67733,10 +67733,11 @@ function useGoalLine(initialGoalLine, onAddingGoalLine) {
|
|
|
67733
67733
|
});
|
|
67734
67734
|
}
|
|
67735
67735
|
var isDisabled$2 = function isDisabled(state) {
|
|
67736
|
-
var _goalLineSchema$valid = goalLineSchema().validate(state
|
|
67736
|
+
var _goalLineSchema$valid = goalLineSchema().validate(state, {
|
|
67737
|
+
presence: 'required'
|
|
67738
|
+
}),
|
|
67737
67739
|
error = _goalLineSchema$valid.error;
|
|
67738
|
-
|
|
67739
|
-
return false;
|
|
67740
|
+
return !!error;
|
|
67740
67741
|
};
|
|
67741
67742
|
|
|
67742
67743
|
var GoalLineModal = function GoalLineModal(props) {
|