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 12:21:35 +08:00 committed by GitHub
parent e9192e75ea
commit e10b19bcde
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 0 deletions

View file

@ -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) {}

View file

@ -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) {}

View file

@ -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';