File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ export const initCurrentCIBuildConfig = (
182
182
dockerfileContent : '' ,
183
183
buildContext : buildContextValue ,
184
184
} ,
185
- gitMaterialId : selectedMaterial ?. id ,
185
+ gitMaterialId : selectedMaterial ?. value ,
186
186
buildContextGitMaterialId : selectedBuildContextGitMaterial ?. id ,
187
187
useRootBuildContext,
188
188
}
@@ -196,7 +196,7 @@ export const initCurrentCIBuildConfig = (
196
196
dockerfileContent : '' ,
197
197
buildContext : buildContextValue ,
198
198
} ,
199
- gitMaterialId : selectedMaterial ?. id ,
199
+ gitMaterialId : selectedMaterial ?. value ,
200
200
buildContextGitMaterialId : selectedBuildContextGitMaterial ?. id ,
201
201
useRootBuildContext,
202
202
}
@@ -209,7 +209,7 @@ export const initCurrentCIBuildConfig = (
209
209
dockerfileContent : '' ,
210
210
buildContext : buildContextValue ,
211
211
} ,
212
- gitMaterialId : selectedMaterial ?. id ,
212
+ gitMaterialId : selectedMaterial ?. value ,
213
213
buildContextGitMaterialId : selectedBuildContextGitMaterial ?. id ,
214
214
useRootBuildContext,
215
215
}
Original file line number Diff line number Diff line change @@ -79,9 +79,10 @@ export default function CIConfigForm({
79
79
...material ,
80
80
name : material ?. name || currentMaterial . name ,
81
81
url : material ?. url || currentMaterial . url ,
82
- value : material ?. checkoutPath || currentMaterial . checkoutPath ,
82
+ value : material ?. id || currentMaterial . id ,
83
83
label : material ?. name || currentMaterial . name ,
84
84
startIcon : getGitProviderIcon ( material ?. url || currentMaterial . url ) ,
85
+ checkoutPath : material ?. checkoutPath || currentMaterial . checkoutPath
85
86
}
86
87
return _currentMaterial
87
88
}
@@ -144,6 +145,7 @@ export default function CIConfigForm({
144
145
) ,
145
146
)
146
147
148
+ console . log ( sourceConfig , ' selectedMaterial' , selectedMaterial )
147
149
useEffect ( ( ) => {
148
150
initBuildArgs ( )
149
151
} , [ ] )
@@ -230,6 +232,7 @@ export default function CIConfigForm({
230
232
buildContext : buildContext . value ,
231
233
}
232
234
}
235
+ console . log ( '_ciBuildConfig' , _ciBuildConfig )
233
236
234
237
const requestBody = {
235
238
id : ciConfig ?. id ?? null ,
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ import { VitePWA } from 'vite-plugin-pwa'
29
29
import tsconfigPaths from 'vite-tsconfig-paths'
30
30
31
31
const WRONG_CODE = `import { bpfrpt_proptype_WindowScroller } from "../WindowScroller.js";`
32
- const TARGET_URL = 'https://preview .devtron.ai /'
32
+ const TARGET_URL = 'https://devtron-ent-7 .devtron.info /'
33
33
34
34
function reactVirtualized ( ) : PluginOption {
35
35
return {
You can’t perform that action at this time.
0 commit comments