fix: Fixed issue with the mounted directory configuration cannot be displayed in runtime (#9368)

Refs https://github.com/1Panel-dev/1Panel/issues/9293
This commit is contained in:
CityFun
2025-07-02 04:21:35 +00:00
committed by GitHub
parent e9192e75ea
commit e10b19bcde
3 changed files with 3 additions and 0 deletions
@@ -192,6 +192,7 @@ const getRuntime = async (id: number) => {
});
runtime.exposedPorts = data.exposedPorts || [];
runtime.environments = data.environments || [];
runtime.volumes = data.volumes || [];
editParams.value = data.appParams;
open.value = true;
} catch (error) {}
@@ -205,6 +205,7 @@ const getRuntime = async (id: number) => {
});
runtime.exposedPorts = data.exposedPorts || [];
runtime.environments = data.environments || [];
runtime.volumes = data.volumes || [];
editParams.value = data.appParams;
open.value = true;
} catch (error) {}
@@ -237,6 +237,7 @@ const getRuntime = async (id: number) => {
});
runtime.exposedPorts = data.exposedPorts || [];
runtime.environments = data.environments || [];
runtime.volumes = data.volumes || [];
editParams.value = data.appParams;
if (data.params['CUSTOM_SCRIPT'] == undefined || data.params['CUSTOM_SCRIPT'] == '0') {
data.params['CUSTOM_SCRIPT'] = '0';