remove loader on filters
parent
d8b8af7e00
commit
6e8a0600d9
|
@ -505,7 +505,7 @@ init = ($log, $rootscope, $auth, $events, $analytics, $translate, $location, $na
|
||||||
# Analytics
|
# Analytics
|
||||||
$analytics.initialize()
|
$analytics.initialize()
|
||||||
|
|
||||||
$rootscope.$on '$routeChangeStart', (event, next) ->
|
$rootscope.$on '$routeChangeSuccess', (event, next) ->
|
||||||
if next.access && next.access.requiresLogin
|
if next.access && next.access.requiresLogin
|
||||||
if !$auth.isAuthenticated()
|
if !$auth.isAuthenticated()
|
||||||
$location.path($navUrls.resolve("login"))
|
$location.path($navUrls.resolve("login"))
|
||||||
|
|
Loading…
Reference in New Issue