We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51b054b commit 17d040bCopy full SHA for 17d040b
src/components/app/details/appDetails/AppDetails.tsx
@@ -914,14 +914,10 @@ export const EnvSelector = ({
914
if (found) {
915
found.options.push(Option)
916
} else {
917
- if (key.length > 0) {
918
- acc.push({
919
- label: key,
920
- options: [Option],
921
- })
922
- } else {
923
- acc.push(Option)
924
- }
+ acc.push({
+ label: key,
+ options: [Option],
+ })
925
}
926
927
return acc
0 commit comments