Fix getSharedFolderData

pull/1/head
yflory 4 years ago
parent 158c37a2f2
commit ba5284c116

@ -237,7 +237,7 @@ define([
var getSharedFolderData = function (Env, id) {
if (!Env.folders[id]) { return {}; }
var obj = Env.folders[id].proxy.metadata || {};
var obj = Util.clone(Env.folders[id].proxy.metadata || {});
for (var k in Env.user.proxy[UserObject.SHARED_FOLDERS][id] || {}) {
if (typeof(Env.user.proxy[UserObject.SHARED_FOLDERS][id][k]) === "undefined") { // XXX "deleted folder" for restricted shared folders when viewer in a team
continue;

Loading…
Cancel
Save