Skip to content

Commit

Permalink
fix(flagpole): Only check react-router-6 flag when org is set (#76671)
Browse files Browse the repository at this point in the history
  • Loading branch information
evanpurkhiser authored Aug 28, 2024
1 parent 8032d59 commit 6e56152
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sentry/web/client_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ def tracing_data(self) -> Mapping[str, str]:

@property
def enabled_features(self) -> Iterable[str]:
if features.has("organizations:react-router-6", self.last_org):
if self.last_org and features.has("organizations:react-router-6", self.last_org):
yield "organizations:react-router-6"
if features.has("organizations:create", actor=self.user):
yield "organizations:create"
Expand Down

0 comments on commit 6e56152

Please sign in to comment.