mirror of https://github.com/xwiki-labs/cryptpad
Fix 'team is undefined' error
This commit is contained in:
parent
32bdfacd92
commit
080ffa09a6
|
@ -1035,6 +1035,7 @@ define([
|
|||
var teamData = Util.find(ctx, ['store', 'proxy', 'teams', teamId]);
|
||||
if (!teamData) { return true; }
|
||||
var team = ctx.teams[teamId];
|
||||
if (!team) { return true; }
|
||||
|
||||
var secret = Hash.getSecrets('team', hash || teamData.roHash, teamData.password);
|
||||
// Upgrade the listmap if we can
|
||||
|
|
Loading…
Reference in New Issue