mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-10 17:31:23 +00:00
(js) Add missing dependency in Scheduler routing
This commit is contained in:
@@ -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