- {t("myportal:page-title")} - {t("common:service-name")}
+ {t("newappeal:page-title")} - {t("common:service-name")}
@@ -77,4 +77,13 @@ const Home = (props) => {
// };
// };
-export default Home; //connect(mapStateToProps)(Home);
+const mapStateToProps = (state) => {
+ return {
+ search: state.search,
+ searchResultsObj: state.searchResultsObj,
+ formData: state.formData,
+ appealType: state.appealType,
+ };
+};
+
+export default connect(mapStateToProps)(Home);
diff --git a/pages/newappeal/selectappeal.js b/pages/newappeal/selectappeal.js
index 1782f845..027309bc 100644
--- a/pages/newappeal/selectappeal.js
+++ b/pages/newappeal/selectappeal.js
@@ -14,7 +14,12 @@ import { useRouter } from "next/router";
import { useState } from "react";
import useTranslation from "next-translate/useTranslation";
-import { setAppealType, gtAppealTypeObj } from "../../store/appealType/action";
+import {
+ setAppealType,
+ setAppealTypeTitle,
+ setAppealTypeID,
+ getAppealTypeObj,
+} from "../../store/appealType/action";
import { getAppealsTypes } from "../../actions";
import xpath from "xpath";
@@ -28,7 +33,8 @@ const Home = (props) => {
const { appealType } = props;
- const optionsObj = props.appealType.appealType.GlobalOptionSet.Options;
+ const optionsObj =
+ props.appealType.appealTypeOptions.GlobalOptionSet.Options;
const appealOptions = Object.keys(optionsObj).map((key, index) => (