more
This commit is contained in:
@@ -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}`,
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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);
|
||||||
// NEVER CHANGE THIS:
|
const resp = merged?.map((item, index) => {
|
||||||
return { showInputEle: false, text: item.text, index: index };
|
// NEVER CHANGE THIS:
|
||||||
}
|
return { showInputEle: false, text: item.text, index: index };
|
||||||
);
|
});
|
||||||
const calld = [...resp];
|
if (!resp.length > 10) {
|
||||||
setRequests(calld);
|
return;
|
||||||
|
}
|
||||||
|
console.log("resp", resp);
|
||||||
|
setRequests(resp);
|
||||||
setProdReq(standardProd);
|
setProdReq(standardProd);
|
||||||
})
|
})
|
||||||
.catch((err) => console.log(err));
|
.catch((err) => console.log(err));
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user