fix(registry) undefined error on image tag view EE-4836 (#8885)

pull/9093/head
cmeng 2023-06-23 09:07:52 +12:00 committed by GitHub
parent ea2f752a4f
commit 4c6bbe9a2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -243,6 +243,9 @@ angular
.filter('imagelayercommand', function () {
'use strict';
return function (createdBy) {
if (!createdBy) {
return '';
}
return createdBy.replace('/bin/sh -c #(nop) ', '').replace('/bin/sh -c ', 'RUN ');
};
})