added in info banner for case summary

This commit is contained in:
2024-10-07 09:51:10 +01:00
parent ba05741b8e
commit 8239d9ff77
10 changed files with 190 additions and 6 deletions
+5
View File
@@ -5,6 +5,7 @@ import { useRouter } from "next/router";
import { connect } from "react-redux";
import {
getBasicSearch,
getCaseMessage,
getIP,
getPersonalAccount,
getPortalLogin,
@@ -90,6 +91,7 @@ const CaseHome = (props) => {
props.searchResultsObj.representationsObj
}
showLoginCheck={true}
messagesObj={props.messagesObj}
/>
</div>
<Footer
@@ -208,6 +210,9 @@ export const getServerSideProps = wrapper.getServerSideProps(
// },
currentType: "directResultsObj",
docsOffline: process.env.DOCAPI_OFFLINE || false,
messagesObj: await getCaseMessage(
searchResultsObj.value[0].incidentid
),
},
};
}