Skip to content

Commit

Permalink
chore(amazon/serverGroup): Fix typing bug
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherthielen authored and mergify[bot] committed Oct 26, 2020
1 parent 37ff2df commit f8b38de
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -187,7 +187,7 @@ export class TitusServerGroupConfigurationService {
// If our dependency is an expression, the only thing we can really do is to just preserve current selections
backingData.filtered.regions = [{ name: cmd.region }];
} else {
backingData.filtered.regions = (credentialsKeyedByAccount[cmd.credentials] || []).regions || [];
backingData.filtered.regions = credentialsKeyedByAccount[cmd.credentials]?.regions ?? [];
}
backingData.filtered.securityGroups = this.getRegionalSecurityGroups(cmd);
cmd.backingData = backingData;
Expand Down

0 comments on commit f8b38de

Please sign in to comment.