
The problem that I identified earlier as a Safari bug turned out to be a bug in main/recent route. Not calling super in deactivate resulted in code to remove observer not being executed at all.
16 lines
363 B
CoffeeScript
16 lines
363 B
CoffeeScript
`import TravisRoute from 'travis/routes/basic'`
|
|
`import MainTabRoute from 'travis/routes/main-tab'`
|
|
|
|
Route = MainTabRoute.extend
|
|
reposTabName: 'recent'
|
|
|
|
activate: ->
|
|
@_super.apply(this, arguments)
|
|
@store.set('isRecentTabOpen', true)
|
|
|
|
deactivate: ->
|
|
@_super.apply(this, arguments)
|
|
@store.set('isRecentTabOpen', false)
|
|
|
|
`export default Route`
|