More reliable way to detect read-only team
This commit is contained in:
1 parent
b5a58e3e0b
commit
295ff98854
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user