Преглед на файлове

Merge pull request #1927 from porter-dev/belanger/hotfix-inactive-load

[hotfix] Inactive tab crashing for preview envs
abelanger5 преди 4 години
родител
ревизия
a8289e1250
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      dashboard/src/main/home/cluster-dashboard/preview-environments/deployments/DeploymentList.tsx

+ 1 - 1
dashboard/src/main/home/cluster-dashboard/preview-environments/deployments/DeploymentList.tsx

@@ -171,7 +171,7 @@ const DeploymentList = () => {
     }
 
     return pullRequests.filter((pr) => {
-      return Object.values(d).find(searchFilter) !== undefined;
+      return Object.values(pr).find(searchFilter) !== undefined;
     });
   }, [pullRequests, statusSelectorVal, searchValue]);