mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 13:29:41 +02:00
fix(registry) undefined error on image tag view EE-4836 (#8885)
This commit is contained in:
parent
ea2f752a4f
commit
4c6bbe9a2f
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue