@elice/material-survey 1.240620.0 → 1.240621.0

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.
@@ -83,7 +83,7 @@ const MaterialSurveySelectOne = () => {
83
83
  }, [materialSurvey, userId]);
84
84
  // submit handler
85
85
  const handleSubmit = async () => {
86
- if (!materialSurvey || !selectedAnswer) {
86
+ if (!materialSurvey || selectedAnswer === undefined) {
87
87
  return;
88
88
  }
89
89
  setSubmitStatus('pending');
@@ -79,7 +79,7 @@ const MaterialSurveySelectOne = () => {
79
79
  }, [materialSurvey, userId]);
80
80
  // submit handler
81
81
  const handleSubmit = async () => {
82
- if (!materialSurvey || !selectedAnswer) {
82
+ if (!materialSurvey || selectedAnswer === undefined) {
83
83
  return;
84
84
  }
85
85
  setSubmitStatus('pending');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elice/material-survey",
3
- "version": "1.240620.0",
3
+ "version": "1.240621.0",
4
4
  "description": "User view and editing components of Elice material survey",
5
5
  "repository": "https://git.elicer.io/elice/frontend/library/elice-material",
6
6
  "license": "UNLICENSED",
@@ -52,8 +52,8 @@
52
52
  "@elice/icons-legacy": "npm:@elice/icons@0.230814.0",
53
53
  "@elice/intl": "0.240425.0-rc.2",
54
54
  "@elice/markdown": "^1.220815.0",
55
- "@elice/material-shared-types": "1.240620.0",
56
- "@elice/material-shared-utils": "1.240620.0",
55
+ "@elice/material-shared-types": "1.240621.0",
56
+ "@elice/material-shared-utils": "1.240621.0",
57
57
  "@elice/types": "^1.240619.0",
58
58
  "@types/classnames": "^2.3.1",
59
59
  "@types/react": "~17.0.9",
@@ -63,5 +63,5 @@
63
63
  "react-use": "^17.2.4",
64
64
  "styled-components": "^5.3.0"
65
65
  },
66
- "gitHead": "0ac70cce2b78dfa45df5c29c60747a0dbf1659fc"
66
+ "gitHead": "69057cf7b4c66dc5847770dc95597d2b9c6ba4a3"
67
67
  }