mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-06 20:37:14 +00:00
(js) Add missing dependency in Scheduler routing
This commit is contained in:
1 parent
e5fdc28241
commit
84f4698225
1 file changed
+2
-2
@@ -103,8 +103,8 @@
|
||||
/**
|
||||
* @ngInject
|
||||
*/
|
||||
runBlock.$inject = ['$rootScope', '$log', '$location', 'Preferences'];
|
||||
function runBlock($rootScope, $log, $location, Preferences) {
|
||||
runBlock.$inject = ['$rootScope', '$log', '$location', '$state', 'Preferences'];
|
||||
function runBlock($rootScope, $log, $location, $state, Preferences) {
|
||||
$rootScope.$on('$stateChangeError', function(event, toState, toParams, fromState, fromParams, error) {
|
||||
$log.error(error);
|
||||
$state.go('calendar');
|
||||
|
||||
Reference in new issue
Block a user