Fix 'team is undefined' error

pull/1/head
yflory 5 years ago
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…
Cancel
Save