mirror of https://github.com/portainer/portainer
feat(containers): trim the @sha256 suffix in the image name (#1551)
parent
5787df5599
commit
f57ce8b327
|
@ -352,7 +352,6 @@ angular.module('portainer.filters')
|
||||||
if (imageName.indexOf('sha256:') === 0) {
|
if (imageName.indexOf('sha256:') === 0) {
|
||||||
return imageName.substring(7, 19);
|
return imageName.substring(7, 19);
|
||||||
}
|
}
|
||||||
return imageName;
|
return _.split(imageName, '@sha256')[0];
|
||||||
};
|
};
|
||||||
})
|
});
|
||||||
;
|
|
||||||
|
|
Loading…
Reference in New Issue