Browse Source

fix(escalating-issues): Bring back for review tab (#49157)

Scott Cooper 1 year ago
parent
commit
364b48ba07
2 changed files with 2 additions and 2 deletions
  1. 1 1
      static/app/views/issueList/utils.spec.tsx
  2. 1 1
      static/app/views/issueList/utils.tsx

+ 1 - 1
static/app/views/issueList/utils.spec.tsx

@@ -6,7 +6,7 @@ describe('getTabs', () => {
       getTabs(TestStubs.Organization({features: ['escalating-issues-ui']})).map(
         tab => tab[1].name
       )
-    ).toEqual(['Unresolved', 'New', 'Escalating', 'Ongoing', 'Archived']);
+    ).toEqual(['Unresolved', 'For Review', 'New', 'Escalating', 'Ongoing', 'Archived']);
 
     expect(
       getTabs(TestStubs.Organization({features: []})).map(tab => tab[1].name)

+ 1 - 1
static/app/views/issueList/utils.tsx

@@ -59,7 +59,7 @@ export function getTabs(organization: Organization) {
         name: t('For Review'),
         analyticsName: 'needs_review',
         count: true,
-        enabled: !hasEscalatingIssuesUi,
+        enabled: true,
         tooltipTitle:
           t(`Issues are marked for review when they are created, unresolved, or unignored.
           Mark an issue reviewed to move it out of this list.