mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-12-11 21:06:08 +08:00
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:
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';
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue