mirror of https://github.com/portainer/portainer
fix(registry) undefined error on image tag view EE-4836 (#8885)
parent
ea2f752a4f
commit
4c6bbe9a2f
|
@ -243,6 +243,9 @@ angular
|
||||||
.filter('imagelayercommand', function () {
|
.filter('imagelayercommand', function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
return function (createdBy) {
|
return function (createdBy) {
|
||||||
|
if (!createdBy) {
|
||||||
|
return '';
|
||||||
|
}
|
||||||
return createdBy.replace('/bin/sh -c #(nop) ', '').replace('/bin/sh -c ', 'RUN ');
|
return createdBy.replace('/bin/sh -c #(nop) ', '').replace('/bin/sh -c ', 'RUN ');
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue