Inner for loop in nested for loop in handlebars is not working

115 Views Asked by At

My outer for loop is working and printing name but inner loop in which i'm trying to iterate through systems is not working.

var executions = [    
    {
        name:'Password',
        email:'[email protected]',
        systems: [
           {system: 'PME1'},
           {system: 'PME2'},
           {system: 'PME2'},
        ],
        
    }
];
{#each executions}}  
  <span>Name : {{name}}</span>
    <table>
     <tbody>
      {{#each systems}}
      <tr>
       <td>
        <p>{{ system }}</p>
       </td>
      </tr>
     {{/each}}
    </tbody>
   </table>
{{/each}}
0

There are 0 best solutions below