Open PProtonzz opened 5 years ago
{{#each games}} {{#if this.yellow}} <div class='rblock3'> <div class='tit'>{{this.game_name}}</div> <div class='live_res'>{{this.game_value}}</div> </div> {{else}} <div class='rblock1'> <div class='tit'>{{this.game_name}}</div> <div class='live_res'>{{this.game_value}}</div> </div> {{/if}} {{/each}}
Have you looked at the sortBy helper? This can be used in a handlebars subexpression