Fixes for event stream and section view actions
This commit is contained in:
@@ -5,7 +5,7 @@ Qsupplier.App.Table = DS.Model.extend
|
||||
height: attr 'number'
|
||||
position_x: attr 'number'
|
||||
position_y: attr 'number'
|
||||
occupied: attr 'boolean'
|
||||
# occupied: attr 'boolean'
|
||||
section: DS.belongsTo('section')
|
||||
#active_list: DS.belongsTo('list', key: 'active_list')
|
||||
active_list: DS.belongsTo('list')
|
||||
@@ -13,3 +13,4 @@ Qsupplier.App.Table = DS.Model.extend
|
||||
#active_list: (->
|
||||
#@get('list')
|
||||
#).property('list')
|
||||
occupied: (-> !!@get('active_list')).property('active_list.id')
|
||||
|
||||
Reference in New Issue
Block a user