TypeError: Problem while rendering template at line 19, character 0.
Original message: Problem while rendering template at line 19, character 0.
Original message: Problem while rendering template at line 19, character 0.
Original message: Cannot read property 'accountDetails' of undefined.
Context:

   17 |
   18 |         <div class="section-body section-page-1 section-page-primary section-page fadein">
 > 19 |
   20 | @if(model.login_user.accountDetails.paymentMethods.cards.length == 0) {
   21 |           <div class="modal-body align-center">
   22 |             <img src="./assets/shared/images/cards/icon-creditcard-red.svg" />

.
Context:

   17 |           <li><img src="./assets/img/new/gamble-responsibly.png" /></li>
   18 |         </ul>
 > 19 |       </div>
   20 |       <div class="col-lg-3 offset-lg-1 footer--margin footer-quick-links footer-flex--3">
   21 |         <h4>QUICK LINKS</h4>
   22 |         <ul class="links">

.
Context:

   17 |
   18 |     @html.include('betonline/includes/page-footer')
 > 19 |
   20 |   })
   21 |
   22 | })


   at eval (eval at runtime.link (/Users/alex/Documents/alex/Dijgtal/BOL/betonline-web/node_modules/vash/runtime.js:308:26), <anonymous>:663:21)
   at linked (/Users/alex/Documents/alex/Dijgtal/BOL/betonline-web/node_modules/vash/runtime.js:348:14)
   at /Users/alex/Documents/alex/Dijgtal/BOL/betonline-web/node_modules/vash/lib/helpers/layout.js:232:5
   at Object.vash.loadFile (/Users/alex/Documents/alex/Dijgtal/BOL/betonline-web/node_modules/vash/lib/helpers/layout.js:68:11)
   at Helpers.helpers.include (/Users/alex/Documents/alex/Dijgtal/BOL/betonline-web/node_modules/vash/lib/helpers/layout.js:230:8)
   at eval (eval at runtime.link (/Users/alex/Documents/alex/Dijgtal/BOL/betonline-web/node_modules/vash/runtime.js:308:26), <anonymous>:8:33)
   at linked (/Users/alex/Documents/alex/Dijgtal/BOL/betonline-web/node_modules/vash/runtime.js:348:14)
   at /Users/alex/Documents/alex/Dijgtal/BOL/betonline-web/node_modules/vash/lib/helpers/layout.js:232:5
   at Object.vash.loadFile (/Users/alex/Documents/alex/Dijgtal/BOL/betonline-web/node_modules/vash/lib/helpers/layout.js:68:11)
   at Helpers.helpers.include (/Users/alex/Documents/alex/Dijgtal/BOL/betonline-web/node_modules/vash/lib/helpers/layout.js:230:8)