mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 15:59:41 +02:00
Change image chart sizes
This commit is contained in:
parent
de18a308c2
commit
3643525126
3 changed files with 7 additions and 4 deletions
|
@ -304,8 +304,11 @@ function ImageController($scope, $q, $routeParams, $location, Image, Container,
|
|||
|
||||
Image.get({id: $routeParams.id}, function(d) {
|
||||
$scope.image = d;
|
||||
if ($routeParams.tag) {
|
||||
var promise = getContainersFromImage($q, Container, $routeParams.tag);
|
||||
$scope.tag = d.id;
|
||||
var t = $routeParams.tag;
|
||||
if (t && t !== ":") {
|
||||
$scope.tag = t;
|
||||
var promise = getContainersFromImage($q, Container, t);
|
||||
|
||||
promise.then(function(containers) {
|
||||
var map = {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue