21097 remove ui for further details
This commit is contained in:
@@ -309,7 +309,7 @@ export const createRepBlob = async (formContent, containerName, caseref) => {
|
||||
|
||||
const tags = {
|
||||
containerid: containerName,
|
||||
caseID: formContent.ticketnumber,
|
||||
caseID: formContent.ticketnumber || formContent.caseRef,
|
||||
blobType: "Representation",
|
||||
};
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ import { useRouter } from "next/router";
|
||||
import { useDropzone } from "react-dropzone";
|
||||
import { Field } from "redux-form";
|
||||
import RepDetails from "./representationDetails";
|
||||
import { RenderRadioListWithText } from "./representationElements";
|
||||
import { RenderRadioList } from "./representationElements";
|
||||
|
||||
let RepCapacitySelection = (props) => {
|
||||
let { t } = useTranslation();
|
||||
@@ -72,7 +72,7 @@ let RepCapacitySelection = (props) => {
|
||||
errorMsg={t(
|
||||
"myrepresentations:select-an-option-label"
|
||||
)}
|
||||
component={RenderRadioListWithText}
|
||||
component={RenderRadioList}
|
||||
validate={[required]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -20,9 +20,9 @@ ApiProxy.get(async (req, res) => {
|
||||
"/api/file/downloadblob?container=" +
|
||||
containerName +
|
||||
"&casefolderID=" +
|
||||
encodeURIComponent(casefolderID) +
|
||||
casefolderID +
|
||||
"&blobname=" +
|
||||
encodeURIComponent(blobName.trim());
|
||||
blobName.trim();
|
||||
|
||||
if (hashAPIPath(checkquerypath) == "&hash=" + checkHash) {
|
||||
const bloblocation =
|
||||
|
||||
@@ -381,15 +381,12 @@ export const getServerSideProps = wrapper.getServerSideProps(
|
||||
|
||||
store.dispatch(setAccountDetails(accountDetails));
|
||||
|
||||
// return {
|
||||
// props: {
|
||||
// searchResultsObj: {
|
||||
// searchResultsObj: searchResultsObj,
|
||||
// searchDetailsObj: searchDetailsObj,
|
||||
// },
|
||||
// containerID: thisSession.user.id,
|
||||
// },
|
||||
// };
|
||||
return {
|
||||
props: {
|
||||
containerID: thisSession.user.id,
|
||||
docsOffline: process.env.DOCAPI_OFFLINE || false,
|
||||
},
|
||||
};
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user