Fixing createStacks and imageThumbnail
This commit is contained in:
1 parent
2b22aecc15
commit
e75330fe87
4 files changed
+8
-8
No files matched your search
+1
-1
@@ -15,7 +15,7 @@ Template.imageThumbnail.onCreated(() => {
|
||||
const lastIndex = (stack.images.length || 1) - 1;
|
||||
const imageIndex = Math.floor(lastIndex / 2);
|
||||
const imageInstance = stack.images[imageIndex];
|
||||
return getImageId(imageInstance.getData());
|
||||
return imageInstance.getImageId();
|
||||
};
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user