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

pull/1282/merge
Anthony Lapenna 2017-10-16 18:54:48 +02:00 committed by GitHub
parent 8ec7b4fcf5
commit dc05ad4c8c
1 changed files with 1 additions and 0 deletions

View File

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