mirror of
https://github.com/portainer/portainer.git
synced 2025-07-29 18:29:44 +02:00
feat(volume-details): show a list of containers using the volume
This commit is contained in:
parent
dc05ad4c8c
commit
925326e8aa
3 changed files with 45 additions and 4 deletions
|
@ -20,8 +20,8 @@ angular.module('portainer.services')
|
|||
|
||||
service.containers = function(all, filters) {
|
||||
var deferred = $q.defer();
|
||||
|
||||
Container.query({ all: all, filters: filters ? filters : {} }).$promise
|
||||
filters.all = all;
|
||||
Container.query(filters).$promise
|
||||
.then(function success(data) {
|
||||
var containers = data.map(function (item) {
|
||||
return new ContainerViewModel(item);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue