Fix missing teams in the share modal

This commit is contained in:
yflory
2019-11-08 12:04:30 +01:00
parent 722d813e97
commit 5dcc7643da
3 changed files with 15 additions and 2 deletions

View File

@@ -1309,6 +1309,9 @@ define([
if (safe && ctx.teams[id]) {
t[id].secondaryKey = ctx.teams[id].secondaryKey;
}
if (ctx.teams[id]) {
t[id].hasSecondaryKey = Boolean(ctx.teams[id].secondaryKey);
}
});
return t;
};