feat(containers): trim the @sha256 suffix in the image name (#1551)
parent
5787df5599
commit
f57ce8b327
|
@ -66,7 +66,7 @@ angular.module('portainer.filters')
|
|||
labelStyle = 'primary';
|
||||
} else if (includeString(status, ['running'])) {
|
||||
labelStyle = 'success';
|
||||
}
|
||||
}
|
||||
return labelStyle;
|
||||
};
|
||||
})
|
||||
|
@ -352,7 +352,6 @@ angular.module('portainer.filters')
|
|||
if (imageName.indexOf('sha256:') === 0) {
|
||||
return imageName.substring(7, 19);
|
||||
}
|
||||
return imageName;
|
||||
return _.split(imageName, '@sha256')[0];
|
||||
};
|
||||
})
|
||||
;
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue