Explorar o código

hotfix application folder context

Soham Parekh %!s(int64=3) %!d(string=hai) anos
pai
achega
d27af5330f
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  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
-        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"}
         type="text"
         width="100%"
+        setValue={(value) => typeof value === "string" && setFolderPath(value)}
         value={folderPath}
       />
       {renderRegistrySection()}