This commit is contained in:
Kenneth Jannette
2024-03-09 09:34:28 -06:00
parent c551d8e1d6
commit 71213600ff
3 changed files with 16 additions and 15 deletions

View File

@@ -122,9 +122,6 @@ const CaseDetailsPage = () => {
radioValue, radioValue,
clientPosition clientPosition
) { ) {
console.log(
"hit generateOutgoingDiscoveryRequests-----------------------------"
);
const response = await fetch( const response = await fetch(
`${apiUrl}/v1/make-outgoing-requests/${docId}/${radioValue}/${clientPosition}`, `${apiUrl}/v1/make-outgoing-requests/${docId}/${radioValue}/${clientPosition}`,
{ {

View File

@@ -74,14 +74,17 @@ const RequestEditPage = () => {
} }
getOutgoingRequests(documentId) getOutgoingRequests(documentId)
.then((data) => { .then((data) => {
const resp = [...foundationRogs, ...data[0].requests].map( const merged = [...foundationRogs, ...data[0].requests];
(item, index) => { console.log("merged", merged);
const resp = merged?.map((item, index) => {
// NEVER CHANGE THIS: // NEVER CHANGE THIS:
return { showInputEle: false, text: item.text, index: index }; return { showInputEle: false, text: item.text, index: index };
});
if (!resp.length > 10) {
return;
} }
); console.log("resp", resp);
const calld = [...resp]; setRequests(resp);
setRequests(calld);
setProdReq(standardProd); setProdReq(standardProd);
}) })
.catch((err) => console.log(err)); .catch((err) => console.log(err));

View File

@@ -137,7 +137,7 @@ section.section-1 {
h1.heading-1 { h1.heading-1 {
color: #fff; color: #fff;
font-family: Roboto; font-family: Roboto;
font-size: 54px; font-size: 56px;
font-style: normal; font-style: normal;
font-weight: 500; font-weight: 500;
line-height: 52px; /* 140.625% */ line-height: 52px; /* 140.625% */
@@ -147,19 +147,20 @@ h1.heading-1 {
h1.heading-2 { h1.heading-2 {
color: #fff; color: #fff;
font-family: Roboto; font-family: Roboto;
font-size: 32px; font-size: 33px;
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
line-height: 52px; /* 140.625% */ line-height: 52px; /* 140.625% */
margin-bottom: 0px !important; margin-bottom: 0px !important;
margin-top: 8px;
} }
p.text-block-1 { p.text-block-1 {
color: #fff; color: #fff;
font-family: Roboto; font-family: Roboto;
font-size: 26px; font-size: 25px;
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 300;
line-height: 29.756px; /* 123.983% */ line-height: 29.756px; /* 123.983% */
width: 525px; width: 525px;
margin-top: 28px; margin-top: 28px;