소스 검색

Legacy stacks hotfix (#3267)

* Fix

* HotFix

* Legacy Hotfix
sdess09 3 년 전
부모
커밋
7e1e59ceb1
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      dashboard/src/components/porter-form/field-components/KeyValueArray.tsx

+ 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