More reliable way to detect read-only team

This commit is contained in:
yflory committed 2019-11-12 17:59:50 +01:00
1 parent b5a58e3e0b
commit 295ff98854
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -297,7 +297,7 @@ define([
// Provide secondaryKey
var teamData = (privateData.teams || {})[id] || {};
driveAPP.readOnly = !teamData.secondaryKey;
driveAPP.readOnly = !teamData.hasSecondaryKey;
var drive = DriveUI.create(common, {
proxy: proxy,
folders: folders,