1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-24 07:49:41 +02:00

feat(containers): add the ability to filter by state (#410)

This commit is contained in:
Anthony Lapenna 2016-12-25 22:43:53 +13:00 committed by GitHub
parent ce32ed5b98
commit 03456ddcf8
4 changed files with 7 additions and 4 deletions

View file

@ -53,6 +53,7 @@ function ServiceViewModel(data) {
function ContainerViewModel(data) {
this.Id = data.Id;
this.Status = data.Status;
this.State = data.State;
this.Names = data.Names;
// Unavailable in Docker < 1.10
if (data.NetworkSettings && !_.isEmpty(data.NetworkSettings.Networks)) {