parent
ab7ec63f4b
commit
e5dc76cc19
|
@ -109,7 +109,10 @@
|
|||
// Listen to HTTP errors broadcasted from HTTP interceptor
|
||||
$rootScope.$on('http:Error', onHttpError);
|
||||
|
||||
Alarm.getAlarms();
|
||||
if (sgSettings.activeUser('path').calendar) {
|
||||
// Fetch Calendar alarms
|
||||
Alarm.getAlarms();
|
||||
}
|
||||
}
|
||||
|
||||
angular.module('SOGo.Common')
|
||||
|
|
Loading…
Reference in New Issue