mirror of
https://github.com/portainer/portainer.git
synced 2025-08-05 05:45:22 +02:00
fix(container-details): use container.Mounts instead of container.HostConfig.Binds (#1329)
This commit is contained in:
parent
25f325bbaa
commit
77503b448e
2 changed files with 8 additions and 6 deletions
|
@ -9,6 +9,7 @@ function ContainerDetailsViewModel(data) {
|
|||
this.Image = data.Image;
|
||||
this.Config = data.Config;
|
||||
this.HostConfig = data.HostConfig;
|
||||
this.Mounts = data.Mounts;
|
||||
if (data.Portainer) {
|
||||
if (data.Portainer.ResourceControl) {
|
||||
this.ResourceControl = new ResourceControlViewModel(data.Portainer.ResourceControl);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue