1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-23 15:29:42 +02:00

Fix images repo name

This commit is contained in:
Michael Crosby 2013-12-13 10:26:58 -08:00
parent a392c8ec87
commit 27a9e97062
3 changed files with 13 additions and 2 deletions

View file

@ -68,6 +68,16 @@ angular.module('dockerui.filters', [])
var name = container.Names[0];
return name.substring(1, name.length);
};
})
.filter('repotag', function() {
return function(image) {
if (image.RepoTags && image.RepoTags.length > 0) {
var tag = image.RepoTags[0];
if (tag == '<none>:<none>') { tag = ''; }
return tag;
}
return '';
};
})
.filter('getdate', function() {
return function(data) {