Some more changes because I cannot stop

This commit is contained in:
2014-07-22 22:29:25 +02:00
parent 1f2c3d1dde
commit bbd3234c7b
4 changed files with 22 additions and 9 deletions
@@ -16,7 +16,7 @@ Qsupplier.App.List = DS.Model.extend
orders: DS.hasMany('order')
section: DS.belongsTo('section')
section_id: attr('string')
active: ( -> @get('state') == 'active' ).property('state')
active: ( -> @get('state') is 'active' ).property('state')
markClosed: ->
@set('state', 'closed')
#@set 'has_active_orders', false