Fixed loading assets.
This commit is contained in:
parent
3fb7b617e0
commit
81fc666cd2
1 changed files with 2 additions and 5 deletions
|
@ -291,11 +291,8 @@ class App.Navigation extends App.Controller
|
|||
|
||||
items = data.recent_viewed
|
||||
|
||||
# load user collection
|
||||
App.Collection.load( type: 'User', data: data.users )
|
||||
|
||||
# load ticket collection
|
||||
App.Collection.load( type: 'Ticket', data: data.tickets )
|
||||
# load collections
|
||||
App.Event.trigger 'loadAssets', data.assets
|
||||
|
||||
# remove old views
|
||||
NavBarRight = @Config.get( 'NavBarRight' ) || {}
|
||||
|
|
Loading…
Reference in a new issue