diff --git a/www/common/common-ui-elements.js b/www/common/common-ui-elements.js index 6c581386d..2d439a909 100644 --- a/www/common/common-ui-elements.js +++ b/www/common/common-ui-elements.js @@ -455,7 +455,7 @@ define([ var team = priv.teams[id] || {}; if (team.viewer) { return; } if (data.owners.indexOf(team.edPublic) === -1) { return; } - owned = id; + owned = Number(id); return true; }); } @@ -750,7 +750,7 @@ define([ var team = priv.teams[id] || {}; if (team.viewer) { return; } if (data.owners.indexOf(team.edPublic) === -1) { return; } - owned = id; + owned = Number(id); return true; }); }