Skip to content

Commit 3db5240

Browse files
authored
chore(issue-details): Remove obsolete plugin.title fallback (#108333)
## Summary - Remove the `plugin.title` fallback and associated TODO comment from the group sidebar - This TODO dates back to Sentry 8.22; all plugins now provide `shortName` or `name` ## Test plan - Pre-commit hooks (eslint, prettier, stylelint) pass - `plugin.title` was only used as a last-resort fallback after `shortName` and `name`
1 parent 096049a commit 3db5240

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

static/app/views/issueDetails/groupSidebar.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,11 +115,10 @@ export default function GroupSidebar({
115115
const issues: React.ReactNode[] = [];
116116
(group.pluginIssues || []).forEach(plugin => {
117117
const issue = plugin.issue;
118-
// # TODO(dcramer): remove plugin.title check in Sentry 8.22+
119118
if (issue) {
120119
issues.push(
121120
<Fragment key={plugin.slug}>
122-
<span>{`${plugin.shortName || plugin.name || plugin.title}: `}</span>
121+
<span>{`${plugin.shortName || plugin.name}: `}</span>
123122
<a href={issue.url}>
124123
{typeof issue.label === 'object' ? issue.label.id : issue.label}
125124
</a>

0 commit comments

Comments
 (0)