mirror of
https://github.com/portainer/portainer.git
synced 2025-08-02 20:35:25 +02:00
parent
813c14d93c
commit
66ae15b4fb
6 changed files with 182 additions and 179 deletions
|
@ -10,11 +10,10 @@ function ImageViewModel(data) {
|
|||
|
||||
function ContainerViewModel(data) {
|
||||
this.Id = data.Id;
|
||||
this.State = data.State;
|
||||
this.Names = data.Names;
|
||||
this.IP = data.NetworkSettings.Networks[Object.keys(data.NetworkSettings.Networks)[0]].IPAddress;
|
||||
this.Image = data.Image;
|
||||
this.Command = data.Command;
|
||||
this.Created = data.Created;
|
||||
this.SizeRw = data.SizeRw;
|
||||
this.Status = data.Status;
|
||||
this.Checked = false;
|
||||
this.Names = data.Names;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue