Skip to content

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
brunoasr committed Feb 24, 2024
1 parent f68a5d8 commit e8801d3
Showing 1 changed file with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,7 @@ function Ami({ amiList, requestAmiList, envTypes, requestEnvTypes, updateAmiTag
const handleCheckboxChange = (event) => {
env[event.target.name] = event.target.checked;
const newAppEnv = [];
envTypes.forEach(envType => { if (env[envType]) newAppEnv.push(key); });
/*if (env.dev)
newAppEnv.push("dev");
if (env.test)
newAppEnv.push("test");
if (env.staging)
newAppEnv.push("staging");
if (env.prod)
newAppEnv.push("prod");*/
envTypes.forEach(envType => { if (env[envType]) newAppEnv.push(envType); });
setAppEnv(newAppEnv.join(','));
};
const applyFilter = () => {
Expand Down

0 comments on commit e8801d3

Please sign in to comment.