fix for new appeal and reps updates
This commit is contained in:
@@ -91,6 +91,7 @@ let MakeRepresentation = (props) => {
|
||||
};
|
||||
|
||||
let questionnaireCount = updateQuestionnaireCount();
|
||||
|
||||
const setRepFileName = (values) => {
|
||||
//console.log("---------------\n", values);
|
||||
if (
|
||||
@@ -408,8 +409,13 @@ let MakeRepresentation = (props) => {
|
||||
);
|
||||
} else {
|
||||
switch (
|
||||
currentView.representationCapacity ||
|
||||
currentView.caseReference.repDetails.representationCapacity
|
||||
(
|
||||
currentView.representationCapacity ||
|
||||
(currentView.caseReference.hasOwnProperty("repDetails") &&
|
||||
currentView.caseReference.repDetails
|
||||
.representationCapacity) ||
|
||||
"false"
|
||||
).toLowerCase()
|
||||
) {
|
||||
case false:
|
||||
<RepCapacitySelection
|
||||
|
||||
Reference in New Issue
Block a user