don't break if we don't have any runs
This commit is contained in:
parent
445d7a5cfd
commit
4d67e17ba8
|
|
@ -132,7 +132,9 @@ module.exports.registerHelpers = function registerHelpers() {
|
|||
if (Array.isArray(run))
|
||||
return run[0][whichView].images.waterfall;
|
||||
else
|
||||
return run[whichView].images.waterfall;
|
||||
if (run)
|
||||
return run[whichView].images.waterfall;
|
||||
else return;
|
||||
});
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue