parent
f7893daeb8
commit
46b4ea8e3e
4 changed files with 20 additions and 9 deletions
|
@ -31,6 +31,8 @@ angular.module('quay').factory('ImageMetadataService', ['UtilService', function(
|
|||
|
||||
if (!image.__imageMap) {
|
||||
image.__imageMap = {};
|
||||
image.__imageMap[image.id] = image;
|
||||
|
||||
for (var i = 0; i < image.history.length; ++i) {
|
||||
var cimage = image.history[i];
|
||||
image.__imageMap[cimage.id] = cimage;
|
||||
|
|
Reference in a new issue