Fix calendar refresh issue #1551

This commit is contained in:
yflory 2024-07-10 14:51:55 +02:00
parent 6638c4cc49
commit 072dba254e
1 changed files with 1 additions and 1 deletions

View File

@ -1055,7 +1055,7 @@ define([
var removeClient = function (ctx, cId) { var removeClient = function (ctx, cId) {
var idx = ctx.clients.indexOf(cId); var idx = ctx.clients.indexOf(cId);
ctx.clients.splice(idx, 1); if (idx !== -1) { ctx.clients.splice(idx, 1); }
Object.keys(ctx.calendars).forEach(function (id) { Object.keys(ctx.calendars).forEach(function (id) {
var cal = ctx.calendars[id]; var cal = ctx.calendars[id];