@@ -76,7 +76,7 @@ import ApplicationAnalyticsContainer from './components/ApplicationAnalytics';
7676import UserSkillsProfile from './components/HGNSkillsDashboard/SkillsProfilePage/components/UserSkillsProfile' ;
7777import ApplicantVolunteerRatio from './components/ApplicantVolunteerRatio/ApplicantVolunteerRatio' ;
7878
79- import WeeklySummaryPage from './components/VolunteerweeklysummaryBBC/WeeklySummaryPage' ; // 测试用 后续要删除
79+ import WeeklySummaryPage from './components/VolunteerweeklysummaryBBC/WeeklySummaryPage' ;
8080
8181// LB Dashboard
8282import LBProtectedRoute from './components/common/LBDashboard/LBProtectedRoute/LBProtectedRoute' ;
@@ -290,9 +290,8 @@ export default (
290290 < AutoUpdate />
291291 < ToastContainer />
292292 < Switch >
293- { /* 测试用,后续要删除 */ }
294293 < ProtectedRoute path = "/weekly-summary" exact component = { WeeklySummaryPage } />
295- < ProtectedRoute path = "/hgnhelp " component = { HelpPage } />
294+ < ProtectedRoute path = "/help " component = { HelpPage } />
296295 < ProtectedRoute path = "/dashboard" exact component = { Dashboard } />
297296 < ProtectedRoute path = "/dashboard/:userId" exact component = { Dashboard } />
298297 < ProtectedRoute path = "/project/members/:projectId" fallback component = { Members } />
@@ -351,13 +350,6 @@ export default (
351350 allowedRoles = { [ UserRole . Administrator , UserRole . Owner , UserRole . Manager ] }
352351 routePermissions = { RoutePermissions . projects }
353352 />
354- < ProtectedRoute
355- path = "/projects"
356- exact
357- component = { Projects }
358- fallback
359- routePermissions = { RoutePermissions . projects }
360- />
361353 < ProtectedRoute
362354 path = "/wbs/tasks/:wbsId/:projectId/:wbsName"
363355 component = { WBSDetail }
@@ -526,7 +518,7 @@ export default (
526518 />
527519
528520 < ProtectedRoute
529- path = "/communityportal/activity/\:activityid /feedback"
521+ path = "/communityportal/activity/:activityId /feedback"
530522 exact
531523 component = { FeedbackRatingEntry }
532524 fallback
@@ -609,13 +601,7 @@ export default (
609601 < BMProtectedRoute path = "/bmdashboard/materials" fallback component = { MaterialListView } />
610602 < BMProtectedRoute path = "/bmdashboard/consumables/add" fallback component = { AddConsumable } />
611603 < BMProtectedRoute path = "/bmdashboard/reusables" fallback component = { ReusableListView } />
612- < BMProtectedRoute
613- path = "/bmdashboard/equipment/:equipmentId"
614- fallback
615- exact
616- component = { EquipmentDetail }
617- />
618- < BMProtectedRoute path = "/bmdashboard/equipment/:equipmentId" component = { EquipmentDetail } />
604+ { /* Note: equipment detail route defined above; duplicates removed */ }
619605 < BMProtectedRoute
620606 path = "/bmdashboard/tools/:equipmentId/update"
621607 component = { UpdateEquipment }
@@ -709,7 +695,6 @@ export default (
709695
710696 < ProtectedRoute path = "/jobformbuilder" fallback component = { JobFormBuilder } />
711697 < ProtectedRoute path = "/infoCollections" component = { EditableInfoModal } />
712- < ProtectedRoute path = "/infoCollections" component = { RoleInfoCollections } />
713698 < ProtectedRoute path = "/userprofile/:userId" fallback component = { UserProfile } />
714699 < ProtectedRoute path = "/userprofileedit/:userId" component = { UserProfileEdit } />
715700 < ProtectedRoute path = "/updatepassword/:userId" component = { UpdatePassword } />
0 commit comments