File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1929,13 +1929,14 @@ <h3>Derive VM</h3>
19291929 const currentGpuConfig = updatedVM . configuration ?. gpus || { } ;
19301930 const isAttachAll = currentGpuConfig . gpus_attach_mode === 'all' ;
19311931 const selectedGpuSlots = currentGpuConfig . gpus ?. map ( gpu => gpu . slot ) || [ ] ;
1932+ const appCompose = JSON . parse ( updatedVM . configuration ?. compose_file || "{}" ) ;
19321933
19331934 upgradeDialog . value = {
19341935 show : true ,
19351936 vm : updatedVM ,
19361937 updateCompose : false ,
1937- dockerComposeFile : updatedVM . configuration ?. compose_file || '' ,
1938- preLaunchScript : updatedVM . configuration ? .pre_launch_script || '' ,
1938+ dockerComposeFile : appCompose . docker_compose_file || '' ,
1939+ preLaunchScript : appCompose . pre_launch_script || '' ,
19391940 encryptedEnvs : [ ] ,
19401941 resetSecrets : false ,
19411942 user_config : updatedVM . configuration ?. user_config || '' ,
You can’t perform that action at this time.
0 commit comments