1
2
3
{{#if (eq item.status "complete")}}
<span>OK</span>
{{/if}}
1
2
3
4
5
6
// app/helpers/eq.js

import Ember from 'ember';

const eq = (params) => params[0] === params[1];
export default Ember.Helper.helper(eq);