Properly bind worker.state class
This commit is contained in:
parent
ffd1b6d917
commit
44bef520a0
|
@ -60,6 +60,8 @@
|
|||
this.$().find('> li').toggleClass('open')
|
||||
|
||||
WorkersItemView: Travis.View.extend
|
||||
classNameBindings: ['worker.state']
|
||||
|
||||
display: (->
|
||||
name = (@get('worker.name') || '').replace('travis-', '')
|
||||
state = @get('worker.state')
|
||||
|
|
Loading…
Reference in New Issue
Block a user