event.status === (showDeletedItems ? 'inactive' : 'active'))}
+ filename="events"
+ />
+ )}
diff --git a/client/src/components/trans-routes/PersonnelInfoTable.js b/client/src/components/trans-routes/PersonnelInfoTable.js
index 534bcf4..aa22f8a 100644
--- a/client/src/components/trans-routes/PersonnelInfoTable.js
+++ b/client/src/components/trans-routes/PersonnelInfoTable.js
@@ -689,9 +689,11 @@ const PersonnelInfoTable = ({transRoutes, showCompletedInfo,
<>
{!showGroupInfo && (
-
- Generate Inbound Participants Report
-
+ {canExportRouteReport && (
+
+ Generate Inbound Participants Report
+
+ )}
)}
{showGroupInfo && (
@@ -704,7 +706,7 @@ const PersonnelInfoTable = ({transRoutes, showCompletedInfo,
>
)}
-
+ {allowForceEdit && }
)}
diff --git a/client/src/components/trans-routes/RouteView.js b/client/src/components/trans-routes/RouteView.js
index 3f51b91..05beb88 100644
--- a/client/src/components/trans-routes/RouteView.js
+++ b/client/src/components/trans-routes/RouteView.js
@@ -450,7 +450,7 @@ const RouteView = () => {
style={{ width: '260px' }}
value={routeStatusValue}
onChange={(e) => setRouteStatusValue(e.target.value)}
- disabled={isSavingRouteStatus}
+ disabled={isSavingRouteStatus || !canEditRoutes}
>
{routeStatusOptions.map((option) => (