feat: team environment search and switch (#3700)
Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
This commit is contained in:
@@ -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) =>
|
||||
|
||||
Reference in New Issue
Block a user