|
-
+ |
- {programInfo.map((field, index) => (
+ {entityFields().map((field, index) => (
- {field}
))}
- {!entityComplete && report?.reportType === "MLR" && (
+ {!entityComplete && report && (
- Select “Enter MLR” to complete this report.
+ {report.reportType === ReportType.MLR &&
+ "Select “Enter MLR” to complete this report."}
+ {report.reportType === ReportType.NAAAR &&
+ "Select “Enter” to complete response."}
)}
|
-
-
-
+ {!entity.isRequired && (
+
+ )}
+ {openOverlayOrDrawer && (
+
+ )}
+ {!entity.isRequired && (
+
+ )}
|
@@ -86,10 +110,10 @@ interface Props {
entity: EntityShape;
verbiage: AnyObject;
locked?: boolean;
- entering: boolean;
+ entering?: boolean;
openAddEditEntityModal: Function;
openDeleteEntityModal: Function;
- openEntityDetailsOverlay: Function;
+ openOverlayOrDrawer?: Function;
[key: string]: any;
}
@@ -110,7 +134,7 @@ const sx = {
fontSize: "0.75rem",
marginBottom: "0.75rem",
},
- programInfo: {
+ entityFields: {
maxWidth: "18.75rem",
ul: {
margin: "0.5rem auto",
diff --git a/services/ui-src/src/components/tables/MobileEntityRow.tsx b/services/ui-src/src/components/tables/MobileEntityRow.tsx
index 305d54160..e98c81758 100644
--- a/services/ui-src/src/components/tables/MobileEntityRow.tsx
+++ b/services/ui-src/src/components/tables/MobileEntityRow.tsx
@@ -79,15 +79,16 @@ export const MobileEntityRow = ({
>
{editEntityButtonText}
-