diff --git a/frontend/src/components/Pages/MissionPage/TaskOverview/TaskTable.tsx b/frontend/src/components/Pages/MissionPage/TaskOverview/TaskTable.tsx index 6123c2412..50f223b41 100644 --- a/frontend/src/components/Pages/MissionPage/TaskOverview/TaskTable.tsx +++ b/frontend/src/components/Pages/MissionPage/TaskOverview/TaskTable.tsx @@ -96,8 +96,12 @@ const TagIdDisplay = ({ task }: { task: Task }) => { } const DescriptionDisplay = ({ task }: { task: Task }) => { + const capitalizeFirstLetter = (str: string) => { + return str.charAt(0).toUpperCase() + str.slice(1) + } + if (!task.description) return {'N/A'} - return {task.description} + return {capitalizeFirstLetter(task.description)} } const InspectionTypesDisplay = ({ task }: { task: Task }) => {