Don't try to connect outlet if current view is desteoyed
This commit is contained in:
parent
563c1f8773
commit
b432a39fb4
|
@ -22,7 +22,7 @@ Travis.reopen
|
|||
view.set('controller', @get('controller.container').lookup('controller:build'))
|
||||
Ember.run.next =>
|
||||
@set('_outlets', {}) if !@get('_outlets') && !@isDestroyed
|
||||
@connectOutlet('pane', view)
|
||||
@connectOutlet('pane', view) unless @isDestroyed
|
||||
).observes('controller.repo.isLoaded')
|
||||
|
||||
ReposEmptyView: Travis.View.extend
|
||||
|
|
Loading…
Reference in New Issue
Block a user