|
@@ -123,10 +123,13 @@ class SharedGroupDetails extends Component<Props, State> {
|
|
|
const {location} = this.props;
|
|
|
const {permalink, latestEvent, project} = group;
|
|
|
const title = this.getTitle();
|
|
|
+ // project.organization is not a real organization, it's just the slug and name
|
|
|
+ // Add the features array to avoid errors when using OrganizationContext
|
|
|
+ const org = {...project.organization, features: []};
|
|
|
|
|
|
return (
|
|
|
<SentryDocumentTitle noSuffix title={title}>
|
|
|
- <OrganizationContext.Provider value={project.organization}>
|
|
|
+ <OrganizationContext.Provider value={org}>
|
|
|
<div className="app">
|
|
|
<div className="pattern-bg" />
|
|
|
<div className="container">
|
|
@@ -146,7 +149,7 @@ class SharedGroupDetails extends Component<Props, State> {
|
|
|
<Container className="group-overview event-details-container">
|
|
|
<BorderlessEventEntries
|
|
|
location={location}
|
|
|
- organization={project.organization}
|
|
|
+ organization={org}
|
|
|
group={group}
|
|
|
event={latestEvent}
|
|
|
project={project}
|