fix(templates): add missing NetworkSettings field (#1287)

pull/1282/merge
Anthony Lapenna 7 years ago committed by GitHub
parent 8ec7b4fcf5
commit dc05ad4c8c

@ -7,6 +7,7 @@ function ContainerViewModel(data) {
if (data.NetworkSettings && !_.isEmpty(data.NetworkSettings.Networks)) {
this.IP = data.NetworkSettings.Networks[Object.keys(data.NetworkSettings.Networks)[0]].IPAddress;
}
this.NetworkSettings = data.NetworkSettings;
this.Image = data.Image;
this.ImageID = data.ImageID;
this.Command = data.Command;

Loading…
Cancel
Save