Explorar el Código

Legacy stacks hotfix (#3267)

* Fix

* HotFix

* Legacy Hotfix
sdess09 hace 2 años
padre
commit
7e1e59ceb1

+ 2 - 2
dashboard/src/components/porter-form/field-components/KeyValueArray.tsx

@@ -81,8 +81,8 @@ const KeyValueArray: React.FC<Props> = (props) => {
 
         setState(() => ({
           synced_env_groups: currentProject?.stacks_enabled ?
-            (Array.isArray(populatedEnvGroups)
-              ? populatedEnvGroups
+            (Array.isArray(values?.synced)
+              ? values?.synced
               : []) :
             (Array.isArray(populatedEnvGroups)
               ? populatedEnvGroups