eleven-solutions-common-website-unique-web 3.0.31 → 3.0.33

Sign up to get free protection for your applications and to get access to all the features.
@@ -25,7 +25,7 @@ const TaxonomyForm = () => {
25
25
  const [editTaxonomyItem, setEditTaxonomyItem] = useState(null);
26
26
  const [editTempTaxonomyItem, setEditTempTaxonomyItem] = useState(null);
27
27
  const [selectedTaxonomyId, setSelectedTaxonomyId] = useState("");
28
- const [isMultiple, setIsMultiple] = useState(false);
28
+ const [isMultiple, setIsMultiple] = useState(true);
29
29
  const validateForm = () => {
30
30
  if (!type || !code || !value) {
31
31
  alert("Please fill in all required fields: Type, Code, and Value.");
@@ -36,7 +36,7 @@ const TaxonomyForm = () => {
36
36
  const queryParams = new URLSearchParams(window.location.search);
37
37
  const id = queryParams.get("id");
38
38
  console.log(id, type);
39
- console.log(isEditMode);
39
+ console.log(isEditMode, isMultiple, isSimilarTaxonomyOpen);
40
40
  // Fetch taxonomy data if id exists
41
41
  useEffect(() => {
42
42
  if (id) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eleven-solutions-common-website-unique-web",
3
- "version": "3.0.31",
3
+ "version": "3.0.33",
4
4
  "main": "./dist/index.js",
5
5
  "scripts": {
6
6
  "build": "tsc",
@@ -44,7 +44,7 @@ const TaxonomyForm = () => {
44
44
 
45
45
  const [selectedTaxonomyId, setSelectedTaxonomyId] = useState<string>("");
46
46
 
47
- const [isMultiple, setIsMultiple] = useState(false);
47
+ const [isMultiple, setIsMultiple] = useState(true);
48
48
 
49
49
  const validateForm = () => {
50
50
  if (!type || !code || !value) {
@@ -59,7 +59,7 @@ const TaxonomyForm = () => {
59
59
 
60
60
  console.log(id, type);
61
61
 
62
- console.log(isEditMode);
62
+ console.log(isEditMode, isMultiple, isSimilarTaxonomyOpen);
63
63
 
64
64
  // Fetch taxonomy data if id exists
65
65
  useEffect(() => {