Browse Source

fix(ui): Prevent projects from being undefined (#62500)

Scott Cooper 1 year ago
parent
commit
e5b56c26e8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      static/app/actionCreators/organization.tsx

+ 1 - 1
static/app/actionCreators/organization.tsx

@@ -158,7 +158,7 @@ export function fetchOrganizationDetails(
       isInitialFetch
     );
 
-    ProjectsStore.loadInitialData(projects);
+    ProjectsStore.loadInitialData(projects ?? []);
 
     const teamPageLinks = resp?.getResponseHeader('Link');
     if (teamPageLinks) {