Problem while rendering template at line 40, character 28.
Original message: Cannot read property 'attachment_path' of undefined.
Context:
38 | <td>
39 | <img
> 40 | src="@(model.baseArgs.imagePrefix + model.args.results.attachments[model.args.attachmentIndex].attachment_path + '/' + model.args.results.attachments[model.args.attachmentIndex].filename)"
41 | class="si-attachmentImg si-attachmentImgSmall"
42 | >
43 |
TypeError: Problem while rendering template at line 40, character 28.
Original message: Cannot read property 'attachment_path' of undefined.
Context:
38 | <td>
39 | <img
> 40 | src="@(model.baseArgs.imagePrefix + model.args.results.attachments[model.args.attachmentIndex].attachment_path + '/' + model.args.results.attachments[model.args.attachmentIndex].filename)"
41 | class="si-attachmentImg si-attachmentImgSmall"
42 | >
43 |
at currentContent (eval at runtime.link (/home/node/svn/code/web/SFSG/zayin-sfsg/node_modules/vash/runtime.js:308:26), <anonymous>:282:117)
at Helpers.helpers.block (/home/node/svn/code/web/SFSG/zayin-sfsg/node_modules/vash/lib/helpers/layout.js:255:5)
at eval (eval at runtime.link (/home/node/svn/code/web/SFSG/zayin-sfsg/node_modules/vash/runtime.js:308:26), <anonymous>:498:33)
at /home/node/svn/code/web/SFSG/zayin-sfsg/node_modules/vash/lib/helpers/layout.js:199:5
at Object.vash.loadFile (/home/node/svn/code/web/SFSG/zayin-sfsg/node_modules/vash/lib/helpers/layout.js:70:11)
at Helpers.helpers.extend (/home/node/svn/code/web/SFSG/zayin-sfsg/node_modules/vash/lib/helpers/layout.js:190:8)
at eval (eval at runtime.link (/home/node/svn/code/web/SFSG/zayin-sfsg/node_modules/vash/runtime.js:308:26), <anonymous>:10:33)
at linked (/home/node/svn/code/web/SFSG/zayin-sfsg/node_modules/vash/runtime.js:348:14)
at /home/node/svn/code/web/SFSG/zayin-sfsg/node_modules/vash/lib/helpers/layout.js:82:22
at Object.vash.loadFile (/home/node/svn/code/web/SFSG/zayin-sfsg/node_modules/vash/lib/helpers/layout.js:70:11)