From 34a3f8186a0e38c2fbad83ecf793a286944de20a Mon Sep 17 00:00:00 2001 From: Karl Gutwin Date: Wed, 12 Aug 2015 16:20:28 -0400 Subject: [PATCH] Missed passing run state --- .../containersNetwork/containersNetworkController.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/components/containersNetwork/containersNetworkController.js b/app/components/containersNetwork/containersNetworkController.js index 98e99cc22..db26d53f5 100644 --- a/app/components/containersNetwork/containersNetworkController.js +++ b/app/components/containersNetwork/containersNetworkController.js @@ -6,6 +6,7 @@ angular.module('containersNetwork', ['ngVis']) // names have the following format: /Name this.Name = data.Name.substring(1); this.Image = data.Config.Image; + this.Running = data.State.Running; var dataLinks = data.HostConfig.Links; if (dataLinks != null) { this.Links = {}; @@ -42,7 +43,7 @@ angular.module('containersNetwork', ['ngVis']) "
  • ID: " + container.Id + "
  • " + "
  • Image: " + container.Image + "
  • " + "", - color: (container.State.Running ? null : "gray") + color: (container.Running ? null : "gray") }); };