فهرست منبع

hotfix application folder context

Soham Parekh 3 سال پیش
والد
کامیت
d27af5330f
1فایلهای تغییر یافته به همراه3 افزوده شده و 1 حذف شده
  1. 3 1
      dashboard/src/components/repo-selector/ActionDetails.tsx

+ 3 - 1
dashboard/src/components/repo-selector/ActionDetails.tsx

@@ -137,10 +137,12 @@ const ActionDetails: React.FC<PropsType> = (props) => {
         />
         />
       )}
       )}
       <InputRow
       <InputRow
-        disabled={true}
+        // Currently there is a bug which is failing to detect the correct application folder root path. As a hotfix, we are enabling the user to manually set the application folder path.
+        disabled={false}
         label={dockerfilePath ? "Docker build context" : "Application folder"}
         label={dockerfilePath ? "Docker build context" : "Application folder"}
         type="text"
         type="text"
         width="100%"
         width="100%"
+        setValue={(value) => typeof value === "string" && setFolderPath(value)}
         value={folderPath}
         value={folderPath}
       />
       />
       {renderRegistrySection()}
       {renderRegistrySection()}