Skip to content

Commit

Permalink
Fixed issue where an env object was being stored in state instead of …
Browse files Browse the repository at this point in the history
…an env ID string. (microsoft#5348)

Co-authored-by: Dong Lei <[email protected]>
  • Loading branch information
tonyanziano and boydc2014 authored Dec 17, 2020
1 parent 4fff914 commit a65ce24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/pvaPublish/src/ui/pvaDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export const PVADialog: FC = () => {
setFetchingEnvironments(false);
setEnvs(envs);
if (envs && envs.length) {
setEnv(envs[0]);
setEnv(envs[0].id);
}
};
fetchEnvs();
Expand Down

0 comments on commit a65ce24

Please sign in to comment.