Skip to content

Commit 1f41e6e

Browse files
committed
fix: Fix double loading of organization details
Attempt #2
1 parent a98a3a8 commit 1f41e6e

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/sentry/static/sentry/app/views/organizationContext.jsx

-5
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,8 @@ const OrganizationContext = createReactClass({
7171
this.props.params.orgId &&
7272
prevProps.params.orgId !== this.props.params.orgId;
7373

74-
const organizationLoadingChanged =
75-
prevProps.organizationsLoading !== this.props.organizationsLoading &&
76-
this.props.organizationsLoading === false;
77-
7874
if (
7975
hasOrgIdAndChanged ||
80-
organizationLoadingChanged ||
8176
(this.props.location.state === 'refresh' && prevProps.location.state !== 'refresh')
8277
) {
8378
this.remountComponent();

0 commit comments

Comments
 (0)