diff --git a/app/components/images/images.html b/app/components/images/images.html index 19dd4669b..d317e9818 100644 --- a/app/components/images/images.html +++ b/app/components/images/images.html @@ -70,7 +70,7 @@
- + @@ -125,7 +125,11 @@ {{ image.Id|truncate:20}} - Unused + + Unused + + {{ tag }} @@ -135,7 +139,7 @@ Loading... - + No images available. diff --git a/app/components/images/imagesController.js b/app/components/images/imagesController.js index cbb723274..d5f887049 100644 --- a/app/components/images/imagesController.js +++ b/app/components/images/imagesController.js @@ -94,7 +94,8 @@ function ($scope, $state, ImageService, Notifications, Pagination, ModalService) function fetchImages() { $('#loadImagesSpinner').show(); var endpointProvider = $scope.applicationState.endpoint.mode.provider; - ImageService.images(endpointProvider !== 'DOCKER_SWARM') + var apiVersion = $scope.applicationState.endpoint.apiVersion; + ImageService.images(apiVersion >= 1.25 && endpointProvider !== 'DOCKER_SWARM') .then(function success(data) { $scope.images = data; })