try making workers item view more robust
This commit is contained in:
parent
02a1f166d5
commit
a8f19aa687
|
@ -67,7 +67,7 @@
|
|||
state = @get('worker.state')
|
||||
payload = @get('worker.payload')
|
||||
|
||||
if state == 'working' && payload != undefined
|
||||
if state == 'working' && payload?.repo && payload?.build
|
||||
repo = payload.repo.slug
|
||||
number = ' #' + payload.build.number
|
||||
"<span class='name'>#{name}: #{repo}</span> #{number}".htmlSafe()
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
|||
1dcac772
|
||||
dd0d0f5c
|
Loading…
Reference in New Issue
Block a user