Re-rendering the thumbnail when external data is changed

This commit is contained in:
Bruno Alves de Faria committed 2017-03-30 10:56:57 -03:00
1 parent 41fb606b2a
commit 66dfefbb14
3 files changed
+34 -31

No files matched your search

@@ -16,10 +16,10 @@ Template.registerHelper('studyThumbnails', study => {
const thumbnails = [];
// Iterate over the stacks and add one by one with its index
_.each(stacks, (stack, index) => {
_.each(stacks, (stack, thumbnailIndex) => {
thumbnails.push({
thumbnailIndex: index,
stack: stack
thumbnailIndex,
stack
});
});