From 9b7b67c49008491a6c8ea6f51c2071d7f13c62cf Mon Sep 17 00:00:00 2001 From: yflory Date: Mon, 19 Apr 2021 11:07:35 +0200 Subject: [PATCH] Fix team calendars stored in the drive --- www/common/inner/access.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/www/common/inner/access.js b/www/common/inner/access.js index 52b0d0319..693b8d236 100644 --- a/www/common/inner/access.js +++ b/www/common/inner/access.js @@ -268,6 +268,9 @@ define([ return void UI.warn(text); } var isTemplate = priv.isTemplate || opts.isTemplate; + + // never store calendars in the team drive + if (opts.calendar) { return; } toAddTeams.forEach(function (obj) { sframeChan.query('Q_STORE_IN_TEAM', { href: data.href || data.rohref,