• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

UI5 / webcomponents-react / 25543103990

08 May 2026 07:29AM UTC coverage: 84.384% (-0.03%) from 84.409%
25543103990

push

github

web-flow
refactor(MessageView): fix for Useless conditional (#8555)

To fix this without changing behavior, remove the redundant `groupName
&&` check in the JSX where `ListItemGroup` is rendered, since control
flow has already excluded falsy `groupName`.

Best single change:
- In `packages/main/src/components/MessageView/index.tsx`, inside the
`groupedMessages.map` callback, replace:
- `{groupName && <ListItemGroup
headerText={groupName}>{items}</ListItemGroup>}`
  with:
  - `<ListItemGroup headerText={groupName}>{items}</ListItemGroup>`

This preserves functionality exactly while eliminating the always-true
conditional that CodeQL reports.


_Suggested fixes powered by Copilot Autofix. Review carefully before
merging._

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

2608 of 3403 branches covered (76.64%)

Branch coverage included in aggregate %.

5195 of 5844 relevant lines covered (88.89%)

104805.03 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

79.59
/packages/main/src/components/AnalyticalTable/tableReducer/stateReducer.ts


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc