Properly notify build to update times
This commit is contained in:
parent
a56e4a39c3
commit
e8f2e5ae97
|
@ -106,7 +106,8 @@ Repo = Model.extend
|
||||||
).property('slug')
|
).property('slug')
|
||||||
|
|
||||||
updateTimes: ->
|
updateTimes: ->
|
||||||
@notifyPropertyChange 'defaultBranch.lastBuild.duration'
|
if lastBuild = @get('defaultBranch.lastBuild')
|
||||||
|
lastBuild.updateTimes()
|
||||||
|
|
||||||
regenerateKey: (options) ->
|
regenerateKey: (options) ->
|
||||||
@get('ajax').ajax '/repos/' + @get('id') + '/key', 'post', options
|
@get('ajax').ajax '/repos/' + @get('id') + '/key', 'post', options
|
||||||
|
|
Loading…
Reference in New Issue
Block a user