Skip to content

Commit d0dd307

Browse files
authored
ref(sentry10): Clean up user feedback links (#13595)
Remove code that conditionally linked to old project routes
1 parent 1f93a53 commit d0dd307

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

src/sentry/static/sentry/app/components/events/eventEntries.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,6 @@ class EventEntries extends React.Component {
161161
<StyledEventUserFeedback
162162
report={event.userReport}
163163
orgId={orgId}
164-
projectId={project.slug}
165164
issueId={group.id}
166165
/>
167166
)}

src/sentry/static/sentry/app/components/events/userFeedback.jsx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,12 @@ class EventUserFeedback extends React.Component {
1616
report: PropTypes.object.isRequired,
1717
orgId: PropTypes.string.isRequired,
1818
issueId: PropTypes.string.isRequired,
19-
// Provided only in the single project scoped version of this component
20-
projectId: PropTypes.string,
2119
};
2220

2321
getUrl() {
24-
const {report, orgId, projectId, issueId} = this.props;
22+
const {report, orgId, issueId} = this.props;
2523

26-
return projectId
27-
? `/${orgId}/${projectId}/issues/${issueId}/events/${report.event.eventID}/`
28-
: `/organizations/${orgId}/issues/${issueId}/events/${report.event.eventID}/`;
24+
return `/organizations/${orgId}/issues/${issueId}/events/${report.event.eventID}/`;
2925
}
3026

3127
render() {

src/sentry/static/sentry/app/views/organizationGroupDetails/groupUserFeedback.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ class GroupUserFeedback extends React.Component {
8787
<EventUserFeedback
8888
key={idx}
8989
report={item}
90-
projectId={group.project.slug}
9190
orgId={organization.slug}
9291
issueId={group.id}
9392
/>

0 commit comments

Comments
 (0)