make broadcasts icon change color
This commit is contained in:
parent
8bf917984c
commit
99e3864acd
|
@ -70,6 +70,10 @@ Controller = Ember.Controller.extend
|
|||
seenBroadcasts.push(id)
|
||||
Travis.storage.setItem('travis.seen_broadcasts', JSON.stringify(seenBroadcasts))
|
||||
@get('broadcasts.content').removeObject(broadcast)
|
||||
unless @get('broadcasts.content').length
|
||||
@set('broadcasts.lastBroadcastStatus', '')
|
||||
else
|
||||
@set('broadcasts.lastBroadcastStatus', @get('broadcasts.content')[0].category)
|
||||
return false
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user