Skip to content

Commit 0dcd555

Browse files
authored
ref(shared-views): Do not send default starred view with stacked nav (#91259)
If the user has no starred views and has the enforce-stacked-nav flag, do not send the default view.
1 parent 69ddc7d commit 0dcd555

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/sentry/issues/endpoints/organization_group_search_views_starred.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,10 @@ def get(self, request: Request, organization: Organization) -> Response:
5858
)
5959

6060
# TODO(msun): Remove when tabbed views are deprecated
61-
if not starred_views.exists():
61+
62+
if not starred_views.exists() and not features.has(
63+
"organizations:enforce-stacked-navigation", organization
64+
):
6265
return self.paginate(
6366
request=request,
6467
paginator=SequencePaginator(

0 commit comments

Comments
 (0)