Skip to content

Commit d2f4c52

Browse files
remyluslosiusclaude
andcommitted
fix(dashboard): Fix grammar in grouped activity messages
Changed "10 scan completeds" to "10 scans completed" by fixing the pluralization logic. The previous code appended 's' to the entire phrase instead of just the noun. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 6b259db commit d2f4c52

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frontend/src/components/dashboard/ActivityFeed.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ const ActivityFeed: React.FC<ActivityFeedProps> = ({
202202
<Box sx={{ display: 'flex', alignItems: 'center', gap: 1 }}>
203203
<Typography variant="body2" sx={{ wordBreak: 'break-word' }}>
204204
{isGrouped
205-
? `${group.items.length} ${firstItem.type.replace('_', ' ')}s`
205+
? `${group.items.length} ${firstItem.type.replace('_', 's ')}`
206206
: firstItem.message}
207207
</Typography>
208208
{firstItem.metadata?.complianceScore !== undefined &&

0 commit comments

Comments
 (0)