Ver Fonte

remove accidental overwrite of infra modules

Alexander Belanger há 4 anos atrás
pai
commit
4283d8750d

+ 4 - 1
.dockerignore

@@ -1 +1,4 @@
-/dashboard/node_modules
+/dashboard/node_modules
+.env
+docker/.env
+*.db

+ 2 - 1
dashboard/.dockerignore

@@ -1 +1,2 @@
-node_modules
+node_modules
+.env

+ 1 - 1
dashboard/src/main/home/onboarding/steps/ProvisionResources/forms/SharedStatus.tsx

@@ -52,7 +52,7 @@ export const SharedStatus: React.FC<{
         res.data.forEach((infra : any) => {
           // if filter list is empty, add infra automatically
           if (filter.length == 0) {
-            matchedInfras.set(infra.kind, infra)
+            matchedInfras.set(infra.kind + "-" + infra.id, infra)
           } else if (filter.includes(infra.kind) && matchedInfras.get(infra.Kind)?.id || 0 < infra.id) {
             matchedInfras.set(infra.kind, infra)
           }