More reliable way to detect read-only team

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

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,