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:
parent
a392c8ec87
commit
27a9e97062
3 changed files with 13 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue