feat: team environment search and switch (#3700)

Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
This commit is contained in:
Anwarul Islam
2024-01-30 19:49:04 +05:30
committed by GitHub
parent 0d0ad7a2f8
commit a28a576c41
3 changed files with 120 additions and 16 deletions

View File

@@ -110,7 +110,7 @@ export default class TeamEnvironmentAdapter {
throw new Error(`Failed fetching team environments: ${result.left}`)
}
if (result.right.team !== undefined && result.right.team !== null) {
if (result.right.team) {
results.push(
...result.right.team.teamEnvironments.map(
(x) =>